From 62f46c86d7ca4d3a42d4d2314013ddb06edb6db1 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Thu, 6 Sep 2007 10:46:54 +0000 Subject: s/gtk_widget_[un]ref/g_object_[un]ref/g 2007-09-06 Michael Natterer * demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g svn path=/trunk/; revision=18729 --- demos/gtk-demo/panes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'demos/gtk-demo') diff --git a/demos/gtk-demo/panes.c b/demos/gtk-demo/panes.c index 8547d8fc4f..efd88f21ec 100644 --- a/demos/gtk-demo/panes.c +++ b/demos/gtk-demo/panes.c @@ -24,13 +24,13 @@ toggle_resize (GtkWidget *widget, resize = is_child1 ? paned->child1_resize : paned->child2_resize; shrink = is_child1 ? paned->child1_shrink : paned->child2_shrink; - gtk_widget_ref (child); + g_object_ref (child); gtk_container_remove (GTK_CONTAINER (child->parent), child); if (is_child1) gtk_paned_pack1 (paned, child, !resize, shrink); else gtk_paned_pack2 (paned, child, !resize, shrink); - gtk_widget_unref (child); + g_object_unref (child); } void @@ -44,13 +44,13 @@ toggle_shrink (GtkWidget *widget, resize = is_child1 ? paned->child1_resize : paned->child2_resize; shrink = is_child1 ? paned->child1_shrink : paned->child2_shrink; - gtk_widget_ref (child); + g_object_ref (child); gtk_container_remove (GTK_CONTAINER (child->parent), child); if (is_child1) gtk_paned_pack1 (paned, child, resize, !shrink); else gtk_paned_pack2 (paned, child, resize, !shrink); - gtk_widget_unref (child); + g_object_unref (child); } GtkWidget * -- cgit v1.2.1