Revision: 2024
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2024&view=rev
Author:   jcsjcs
Date:     2008-06-29 06:01:17 -0700 (Sun, 29 Jun 2008)

Log Message:
-----------
        * src/display.c
          src/display_photo.c
          src/details.c
          src/fetchcover.c: replace deprecated gdk_pixbuf_unref() with
          g_object_unref().

Modified Paths:
--------------
    gtkpod/trunk/ChangeLog
    gtkpod/trunk/src/details.c
    gtkpod/trunk/src/display.c
    gtkpod/trunk/src/display_photo.c
    gtkpod/trunk/src/fetchcover.c

Modified: gtkpod/trunk/ChangeLog
===================================================================
--- gtkpod/trunk/ChangeLog      2008-06-29 04:04:20 UTC (rev 2023)
+++ gtkpod/trunk/ChangeLog      2008-06-29 13:01:17 UTC (rev 2024)
@@ -3,6 +3,12 @@
        * src/display_photo.c: fix possible memory leak. Thanks to Mike
          Heffner.
 
+       * src/display.c
+         src/display_photo.c
+         src/details.c
+         src/fetchcover.c: replace deprecated gdk_pixbuf_unref() with
+         g_object_unref().
+
 2008-06-28 Jorg Schuler <jcsjcs at users.sourceforge.net>
 
        * src/file_itunesdb.c

Modified: gtkpod/trunk/src/details.c
===================================================================
--- gtkpod/trunk/src/details.c  2008-06-29 04:04:20 UTC (rev 2023)
+++ gtkpod/trunk/src/details.c  2008-06-29 13:01:17 UTC (rev 2024)
@@ -1373,7 +1373,7 @@
         if (pixbuf)
         {
             gtk_image_set_from_pixbuf (img, pixbuf);
-            gdk_pixbuf_unref (pixbuf);
+            g_object_unref (pixbuf);
         }
         else
         {
@@ -1846,7 +1846,7 @@
                                        image_error = g_strdup(fcover->err_msg);
                                                                
                                free_fetchcover (fcover);
-                               gdk_pixbuf_unref (pixbuf);
+                               g_object_unref (pixbuf);
                                coverart_block_change (FALSE);
                        }
                        else

Modified: gtkpod/trunk/src/display.c
===================================================================
--- gtkpod/trunk/src/display.c  2008-06-29 04:04:20 UTC (rev 2023)
+++ gtkpod/trunk/src/display.c  2008-06-29 13:01:17 UTC (rev 2024)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2008-05-05 23:04:02 jcs>
+/* Time-stamp: <2008-06-29 21:57:29 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -602,7 +602,7 @@
                        
        /* Destroy the dialog as no longer required */
        
-       gdk_pixbuf_unref (scaled);
+       g_object_unref (scaled);
        gtk_widget_destroy (GTK_WIDGET (dialog));
 }
 

Modified: gtkpod/trunk/src/display_photo.c
===================================================================
--- gtkpod/trunk/src/display_photo.c    2008-06-29 04:04:20 UTC (rev 2023)
+++ gtkpod/trunk/src/display_photo.c    2008-06-29 13:01:17 UTC (rev 2024)
@@ -668,7 +668,7 @@
 
        gtk_image_set_from_pixbuf (photo_preview_image, pixbuf);
        gtk_misc_set_padding (GTK_MISC(photo_preview_image), 20, 20);
-       gdk_pixbuf_unref (pixbuf);
+       g_object_unref (pixbuf);
 }
 
 /**
@@ -821,7 +821,7 @@
                /* Add a new row to the model */
                gtk_list_store_append (model, &iter);
                gtk_list_store_set (model, &iter, COL_THUMB_NAIL, pixbuf, 
COL_THUMB_FILENAME, index_str, COL_THUMB_ARTWORK, photo, -1);
-               gdk_pixbuf_unref (pixbuf);
+               g_object_unref (pixbuf);
                g_free (index_str);
 }
 
@@ -1370,7 +1370,7 @@
        g_return_if_fail (pixbuf);
        
        display_image_dialog (pixbuf);
-       gdk_pixbuf_unref (pixbuf);
+       g_object_unref (pixbuf);
 
 }
 

Modified: gtkpod/trunk/src/fetchcover.c
===================================================================
--- gtkpod/trunk/src/fetchcover.c       2008-06-29 04:04:20 UTC (rev 2023)
+++ gtkpod/trunk/src/fetchcover.c       2008-06-29 13:01:17 UTC (rev 2024)
@@ -435,7 +435,7 @@
                g_string_free (fcover->url, TRUE);
                
        if (fcover->image)
-               gdk_pixbuf_unref (fcover->image);
+               g_object_unref (fcover->image);
                        
        if (fcover->dir)
                g_free (fcover->dir);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to