[gtk+] assistant: Use gtk_container_remove() when removing pages



commit 1f4b52455836bd3410b1d365f7ad142dd927d5ea
Author: Benjamin Otte <otte gnome org>
Date:   Thu Jul 14 11:36:29 2011 +0200

    assistant: Use gtk_container_remove() when removing pages
    
    Ensures that we properly emit the "remove" signal.

 gtk/gtkassistant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index c0f72a6..49ebe15 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1671,7 +1671,7 @@ gtk_assistant_remove_page (GtkAssistant *assistant,
   page = gtk_assistant_get_nth_page (assistant, page_num);
 
   if (page)
-    gtk_assistant_remove (GTK_CONTAINER (assistant), page);
+    gtk_container_remove (GTK_CONTAINER (assistant), page);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]