[gtk+] Correct marshaller for switch-page and adjust emission from menu
- From: Christian Dywan <cdywan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Correct marshaller for switch-page and adjust emission from menu
- Date: Fri, 23 Jul 2010 11:23:37 +0000 (UTC)
commit 1c5ee1df12db53dfb8213b27041efd3905842296
Author: Christian Dywan <christian twotoasts de>
Date: Mon Jul 19 11:04:56 2010 +0200
Correct marshaller for switch-page and adjust emission from menu
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
gtk/gtknotebook.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 65b7ee0..b911c73 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -832,7 +832,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkNotebookClass, switch_page),
NULL, NULL,
- _gtk_marshal_VOID__POINTER_UINT,
+ _gtk_marshal_VOID__OBJECT_UINT,
G_TYPE_NONE, 2,
GTK_TYPE_WIDGET,
G_TYPE_UINT);
@@ -6235,7 +6235,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]