anjuta r4764 - in trunk: . libanjuta plugins/class-inheritance plugins/debug-manager plugins/search
- From: aklapper svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4764 - in trunk: . libanjuta plugins/class-inheritance plugins/debug-manager plugins/search
- Date: Thu, 19 Feb 2009 00:45:00 +0000 (UTC)
Author: aklapper
Date: Thu Feb 19 00:45:00 2009
New Revision: 4764
URL: http://svn.gnome.org/viewvc/anjuta?rev=4764&view=rev
Log:
2009-02-19 Andre Klapper <a9016009 gmx de>
* libanjuta/anjuta-launcher.c:
* plugins/class-inheritance/class-inherit.c:
* plugins/debug-manager/watch.c:
* plugins/search/search-replace.c:
Replace deprecated gtk_widget_(un)ref by g_object_(un)ref
Modified:
trunk/ChangeLog
trunk/libanjuta/anjuta-launcher.c
trunk/plugins/class-inheritance/class-inherit.c
trunk/plugins/debug-manager/watch.c
trunk/plugins/search/search-replace.c
Modified: trunk/libanjuta/anjuta-launcher.c
==============================================================================
--- trunk/libanjuta/anjuta-launcher.c (original)
+++ trunk/libanjuta/anjuta-launcher.c Thu Feb 19 00:45:00 2009
@@ -580,10 +580,10 @@
gtk_entry_set_visibility (GTK_ENTRY (entry), FALSE);
gtk_box_pack_start (GTK_BOX (box), entry, FALSE, FALSE, 0);
- gtk_widget_ref (entry);
+ g_object_ref (entry);
g_object_set_data_full (G_OBJECT (dialog), "password_entry",
- gtk_widget_ref (entry),
- (GDestroyNotify) gtk_widget_unref);
+ g_object_ref (entry),
+ g_object_unref);
gtk_widget_grab_focus (entry);
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
Modified: trunk/plugins/class-inheritance/class-inherit.c
==============================================================================
--- trunk/plugins/class-inheritance/class-inherit.c (original)
+++ trunk/plugins/class-inheritance/class-inherit.c Thu Feb 19 00:45:00 2009
@@ -1185,6 +1185,6 @@
plugin->update = canvas_menu_uiinfo[0].widget;
- gtk_widget_ref (plugin->menu);
- gtk_widget_ref (plugin->update);
+ g_object_ref (plugin->menu);
+ g_object_ref (plugin->update);
}
Modified: trunk/plugins/debug-manager/watch.c
==============================================================================
--- trunk/plugins/debug-manager/watch.c (original)
+++ trunk/plugins/debug-manager/watch.c Thu Feb 19 00:45:00 2009
@@ -77,7 +77,7 @@
GtkWidget *entry = GTK_WIDGET (user_data);
gtk_entry_set_text (GTK_ENTRY (entry), value);
- gtk_widget_unref (entry);
+ g_object_unref (entry);
}
#endif
Modified: trunk/plugins/search/search-replace.c
==============================================================================
--- trunk/plugins/search/search-replace.c (original)
+++ trunk/plugins/search/search-replace.c Thu Feb 19 00:45:00 2009
@@ -1316,7 +1316,7 @@
/* Get child of GtkComboBoxEntry */
w->widget = GTK_BIN(w->widget)->child;
}
- gtk_widget_ref(w->widget);
+ g_object_ref(w->widget);
if (GE_COMBO == w->type && NULL != w->extra)
{
search_set_popdown_map(GTK_COMBO_BOX(w->widget), (AnjutaUtilStringMap *)w->extra);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]