diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-25 00:29:40 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-25 00:29:40 (EDT) |
commit | 976ac0d06e278ae7548c595f91a95073918defa2 (patch) | |
tree | 7671b2eaa4812948af96ab5469c107bf24906e33 /src | |
parent | 0fb717de5996e2e2269768cffa2d001c981a844a (diff) | |
download | marquee-976ac0d06e278ae7548c595f91a95073918defa2.zip marquee-976ac0d06e278ae7548c595f91a95073918defa2.tar.gz marquee-976ac0d06e278ae7548c595f91a95073918defa2.tar.bz2 |
MqWindow: Remove old function
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) |