diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-01-02 06:22:37 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-02 06:22:37 +0000 |
commit | c8823f99e11c25604d0f2809509f2082576255f6 (patch) | |
tree | fe038704d281ee457ae528e279ab7d4e20bb95eb /gtk/gtknotebook.h | |
parent | c88eb9ead7f2a3e99fe1109407e1c9e88f869256 (diff) | |
download | gtk+-c8823f99e11c25604d0f2809509f2082576255f6.tar.gz |
Only handle key bindings for tab reordering if the tabs are shown and
2007-01-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.h:
* gtk/gtknotebook.c: Only handle key bindings for
tab reordering if the tabs are shown and reorderable.
(#390468, Yevgen Muntyan)
* gtk/gtkmarshalers.list: Add required marshaler
svn path=/trunk/; revision=17008
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r-- | gtk/gtknotebook.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h index 3c9c45eeb9..55db1708c2 100644 --- a/gtk/gtknotebook.h +++ b/gtk/gtknotebook.h @@ -101,11 +101,11 @@ struct _GtkNotebookClass gboolean move_focus); gboolean (* focus_tab) (GtkNotebook *notebook, GtkNotebookTab type); - void (* change_current_page) (GtkNotebook *notebook, + gboolean (* change_current_page) (GtkNotebook *notebook, gint offset); void (* move_focus_out) (GtkNotebook *notebook, GtkDirectionType direction); - void (* reorder_tab) (GtkNotebook *notebook, + gboolean (* reorder_tab) (GtkNotebook *notebook, GtkDirectionType direction, gboolean move_to_last); |