diff options
-rw-r--r-- | src/window.c | 14 | ||||
-rw-r--r-- | src/window.h | 6 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/window.c b/src/window.c index 325184f..a1acd33 100644 --- a/src/window.c +++ b/src/window.c @@ -37,7 +37,6 @@ struct _MqWindow { MqConfig *config; GtkWidget *notebook; MqTabPage *root_tab; - guint current_tab; gboolean fullscreen; }; @@ -352,19 +351,6 @@ mq_window_toggle_fullscreen(MqWindow *window) } } -void -mq_window_set_current_tab(MqWindow *window, guint tab) -{ - window->current_tab = tab; - gtk_notebook_set_current_page(GTK_NOTEBOOK(window->notebook), tab - 1); -} - -guint -mq_window_get_current_tab(MqWindow *window) -{ - return window->current_tab; -} - guint mq_window_get_num_tabs(MqWindow *window) { diff --git a/src/window.h b/src/window.h index 8fe2fb0..a32e550 100644 --- a/src/window.h +++ b/src/window.h @@ -61,12 +61,6 @@ mq_window_get_application(MqWindow *window); void mq_window_toggle_fullscreen(MqWindow *window); -void -mq_window_set_current_tab(MqWindow *window, guint tab); - -guint -mq_window_get_current_tab(MqWindow *window); - guint mq_window_get_num_tabs(MqWindow *window); |