From df9e1c329441bee4d066b10060660cbecd94b981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 12 Oct 2009 15:59:45 +0200 Subject: Substitute gtk_widget_ref/unref with g_object_ref/unref Substitute the use of gtk_widget_ref/unref in documentation examples and in internal gtk+ code https://bugzilla.gnome.org/show_bug.cgi?id=598218 --- docs/tutorial/gtk_tut_12.es.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/tutorial/gtk_tut_12.es.sgml') diff --git a/docs/tutorial/gtk_tut_12.es.sgml b/docs/tutorial/gtk_tut_12.es.sgml index cca7bd9a7f..22ce28f870 100755 --- a/docs/tutorial/gtk_tut_12.es.sgml +++ b/docs/tutorial/gtk_tut_12.es.sgml @@ -8986,7 +8986,7 @@ se colapsar tendrá que hacer algo así: -gtk_widget_ref (arbol); +g_object_ref (arbol); propietario = GTK_TREE(arbol)->tree_owner; gtk_container_remove (GTK_CONTAINER(arbol), item); if (arbol->parent == NULL){ @@ -8994,7 +8994,7 @@ if (arbol->parent == NULL){ gtk_tree_item_set_subtree (GTK_TREE_ITEM(propietario), arbol); } else - gtk_widget_unref (arbol); + g_object_unref (arbol); Finalmente, hay que mencionar que la opción de drag-n-drop (arrastar y -- cgit v1.2.1