[vinagre] Adapt to GtkObject removal in GTK+ 3



commit 681bb57d55a4d5a9304581e40469aa0b2000a816
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Oct 6 02:09:12 2010 +0200

    Adapt to GtkObject removal in GTK+ 3
    
    Fixes bug 631481.

 vinagre/vinagre-applet.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vinagre/vinagre-applet.c b/vinagre/vinagre-applet.c
index 67aa544..a270448 100644
--- a/vinagre/vinagre-applet.c
+++ b/vinagre/vinagre-applet.c
@@ -66,7 +66,7 @@ static void  vinagre_applet_init       (VinagreApplet *applet);
 static void	vinagre_applet_get_icon		(VinagreApplet *applet);
 static void	vinagre_applet_check_size	(VinagreApplet *applet);
 static gboolean	vinagre_applet_draw_cb		(VinagreApplet *applet);
-static void	vinagre_applet_destroy_cb	(GtkObject *object);
+static void	vinagre_applet_destroy_cb	(GtkWidget     *widget);
 
 G_DEFINE_TYPE (VinagreApplet, vinagre_applet, PANEL_TYPE_APPLET)
 
@@ -191,9 +191,9 @@ vinagre_applet_change_background_cb (VinagreApplet *applet,
 }
 
 static void
-vinagre_applet_destroy_cb (GtkObject *object)
+vinagre_applet_destroy_cb (GtkWidget *widget)
 {
-  VinagreApplet *applet = VINAGRE_APPLET (object);
+  VinagreApplet *applet = VINAGRE_APPLET (widget);
 
   if (applet->icon != NULL)
     g_object_unref (applet->icon);



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