[Gurlchecker-commits] r726 - trunk/src

esaracco at users.labs.libre-entreprise.org esaracco at users.labs.libre-entreprise.org
Sun Jan 24 09:54:28 CET 2010


Author: esaracco
Date: 2010-01-24 08:54:27 +0000 (Sun, 24 Jan 2010)
New Revision: 726

Modified:
   trunk/src/application.c
   trunk/src/general.h
Log:
Don't use deprecated functions gtk_widget_ref/unref.


Modified: trunk/src/application.c
===================================================================
--- trunk/src/application.c	2010-01-24 08:30:04 UTC (rev 725)
+++ trunk/src/application.c	2010-01-24 08:54:27 UTC (rev 726)
@@ -2304,6 +2304,7 @@
   const guint codes_len = sizeof (UCHTMLCodes) / sizeof (UCHTMLCodes[0]);
   gchar *path = NULL;
 
+
   if (uc_application_status_code_properties_hash != NULL)
     g_hash_table_destroy (uc_application_status_code_properties_hash),
       uc_application_status_code_properties_hash = NULL;

Modified: trunk/src/general.h
===================================================================
--- trunk/src/general.h	2010-01-24 08:30:04 UTC (rev 725)
+++ trunk/src/general.h	2010-01-24 08:54:27 UTC (rev 726)
@@ -539,7 +539,7 @@
  */
 #define UC_SET_WIDGET(name, window, widget) \
 	g_object_set_data_full (G_OBJECT (window), name, \
-	gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
+	g_object_ref (widget), (GDestroyNotify) g_object_unref)
 /**
  * WGET:
  * @name: name of the widget to retreive.



More information about the Gurlchecker-commits mailing list