[gtk+/gtk-2-22] Correct emission of switch-page from the menu



commit 186f858d86d87e06b6409e570d7a9f83d05f0e3a
Author: Christian Dywan <christian twotoasts de>
Date:   Fri Jul 23 13:52:23 2010 +0200

    Correct emission of switch-page from the menu
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687

 gtk/gtknotebook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 0e17997..ba9d257 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -6255,7 +6255,7 @@ gtk_notebook_menu_switch_page (GtkWidget       *widget,
   g_signal_emit (notebook,
 		 notebook_signals[SWITCH_PAGE],
 		 0,
-		 page,
+		 page->child,
 		 page_num);
 }
 



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