diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/window.c b/src/window.c index 1de10df..35014ea 100644 --- a/src/window.c +++ b/src/window.c @@ -28,23 +28,6 @@ #include "tab.h" static void -add_tab(MqApplication *application, MqWindow *window, gchar *uri, gint position) -{ - MqTab *tab; - GtkWidget *tab_widget; - - tab = mq_tab_new_relative(window, uri, window->root_tab); - - tab_widget = mq_tab_get_container(tab); - position = gtk_notebook_insert_page(GTK_NOTEBOOK(window->notebook), - tab_widget, mq_tab_get_tab(tab), position); - gtk_notebook_set_tab_reorderable(GTK_NOTEBOOK(window->notebook), - tab_widget, TRUE); - gtk_notebook_set_tab_detachable(GTK_NOTEBOOK(window->notebook), - tab_widget, TRUE); -} - -static void update_positions(GtkNotebook __attribute__((unused)) *notebook, GtkWidget __attribute__((unused)) *child, guint __attribute__((unused)) page_num, MqWindow *window) |