Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

pidgin-twitter fix

By: a guest on Apr 26th, 2012  |  syntax: Diff  |  size: 0.61 KB  |  views: 67  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Naur pidgin-twitter-0.9.2.1/icon.c pidgin-twitter-0.9.2.1-new/icon.c
  2. --- pidgin-twitter-0.9.2.1/icon.c       2011-05-12 18:08:01.000000000 +0300
  3. +++ pidgin-twitter-0.9.2.1-new/icon.c   2012-04-26 16:24:10.032924662 +0300
  4. @@ -280,7 +280,7 @@
  5.      }
  6.  
  7.      if(data && data->pixbuf) {
  8. -        gdk_pixbuf_unref(data->pixbuf);
  9. +        g_object_unref(data->pixbuf);
  10.          data->pixbuf = NULL;
  11.      }
  12.  
  13. @@ -327,7 +327,7 @@
  14.          size = DEFAULT_ICON_SIZE;
  15.  
  16.      dest = gdk_pixbuf_scale_simple(src, size, size, GDK_INTERP_HYPER);
  17. -    gdk_pixbuf_unref(src);
  18. +    g_object_unref(src);
  19.  
  20.      return dest;
  21.  }
clone this paste RAW Paste Data