summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-26 15:33:10 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-26 15:33:10 -0400
commitb101d465be26f23dbbb113472c3395bd5362aa00 (patch)
tree1f4853eaa96de005dec91bedd88b8d785bce6c38 /gtk/gtknotebook.c
parentb26c74e5dac0b5fd869d2c8cc7a0edb6b01aeebd (diff)
downloadgtk+-b101d465be26f23dbbb113472c3395bd5362aa00.tar.gz
Deprecate and ignore gtk-keynav-cursor-only and gtk-keynav-wrap-around
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c26
1 files changed, 5 insertions, 21 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index c446a26748..4838ec7190 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1318,18 +1318,9 @@ gtk_notebook_change_current_page (GtkNotebook *notebook,
if (!current)
{
- gboolean wrap_around;
-
- g_object_get (gtk_widget_get_settings (GTK_WIDGET (notebook)),
- "gtk-keynav-wrap-around", &wrap_around,
- NULL);
-
- if (wrap_around)
- current = gtk_notebook_search_page (notebook, NULL,
- offset < 0 ? STEP_PREV : STEP_NEXT,
- TRUE);
- else
- break;
+ current = gtk_notebook_search_page (notebook, NULL,
+ offset < 0 ? STEP_PREV : STEP_NEXT,
+ TRUE);
}
offset += offset < 0 ? 1 : -1;
@@ -4171,15 +4162,8 @@ focus_tabs_move (GtkNotebook *notebook,
search_direction, TRUE);
if (!new_page)
{
- gboolean wrap_around;
-
- g_object_get (gtk_widget_get_settings (GTK_WIDGET (notebook)),
- "gtk-keynav-wrap-around", &wrap_around,
- NULL);
-
- if (wrap_around)
- new_page = gtk_notebook_search_page (notebook, NULL,
- search_direction, TRUE);
+ new_page = gtk_notebook_search_page (notebook, NULL,
+ search_direction, TRUE);
}
if (new_page)