[gnome-control-center/gnome-2-32: 3/7] Replace deprecated GTK+ symbols. See bug 572325.



commit 3a2e094d14bd8371d1bcb9ba102f19391b59a958
Author: Andre Klapper <a9016009 gmx de>
Date:   Thu May 27 20:57:18 2010 +0200

    Replace deprecated GTK+ symbols. See bug 572325.

 capplets/common/theme-thumbnail.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/capplets/common/theme-thumbnail.c b/capplets/common/theme-thumbnail.c
index 0bc3eec..bf960cd 100644
--- a/capplets/common/theme-thumbnail.c
+++ b/capplets/common/theme-thumbnail.c
@@ -319,7 +319,7 @@ create_meta_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data)
   g_object_unref (icon);
   gtk_widget_destroy (window);
   meta_theme_free (theme);
-  gdk_pixmap_unref (pixmap);
+  g_object_unref (pixmap);
 
   return pixbuf;
 }
@@ -386,7 +386,7 @@ create_gtk_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data)
                                     GDK_INTERP_BILINEAR);
   g_object_unref (pixbuf);
   gtk_widget_destroy (window);
-  gdk_pixmap_unref (pixmap);
+  g_object_unref (pixmap);
 
   return retval;
 }
@@ -462,7 +462,7 @@ create_metacity_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data)
 
   gtk_widget_destroy (window);
   meta_theme_free (theme);
-  gdk_pixmap_unref (pixmap);
+  g_object_unref (pixmap);
 
   return retval;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]