Commit 0d922b8c authored by Andre Klapper's avatar Andre Klapper 💬 Committed by Andre Klapper

Replace deprecated gtk_widget_(un)ref by g_object_(un)ref

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


svn path=/trunk/; revision=4764
parent 54b30a33
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
2009-02-18 Jens Georg <mail@jensge.org>
* plugins/profiler/gprof-profile-data.h:
......@@ -580,10 +580,10 @@ create_password_dialog (const gchar* prompt)
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);
......
......@@ -1185,6 +1185,6 @@ class_inheritance_base_gui_init (AnjutaClassInheritance *plugin)
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);
}
......@@ -77,7 +77,7 @@ on_entry_updated (const gchar *value, gpointer user_data, GError *err)
GtkWidget *entry = GTK_WIDGET (user_data);
gtk_entry_set_text (GTK_ENTRY (entry), value);
gtk_widget_unref (entry);
g_object_unref (entry);
}
#endif
......
......@@ -1316,7 +1316,7 @@ create_dialog(void)
/* 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment