diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 05:17:37 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 05:17:37 (EDT) |
commit | e4c28b9ab8a06fe079234a742fcf867a947c8770 (patch) | |
tree | 9196d41bc7689287b1cf3ba6d11b84d38227beb8 | |
parent | 041e2224c9a16514d3ae27060df915b4d5cd25ee (diff) | |
download | marquee-e4c28b9ab8a06fe079234a742fcf867a947c8770.zip marquee-e4c28b9ab8a06fe079234a742fcf867a947c8770.tar.gz marquee-e4c28b9ab8a06fe079234a742fcf867a947c8770.tar.bz2 |
mq_window_insert_tab(): Remove function
-rw-r--r-- | src/window.c | 14 | ||||
-rw-r--r-- | src/window.h | 4 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/window.c b/src/window.c index 4629920..c6da452 100644 --- a/src/window.c +++ b/src/window.c @@ -369,20 +369,6 @@ mq_window_toggle_fullscreen(MqWindow *window) } void -mq_window_insert_tab(MqWindow *window, GtkWidget *tab_page, - GtkWidget *tab_label, gint position) -{ - gtk_notebook_insert_page(GTK_NOTEBOOK(window->notebook), - tab_page, tab_label, position - 1); - gtk_notebook_set_tab_reorderable(GTK_NOTEBOOK(window->notebook), - tab_page, TRUE); - gtk_notebook_set_tab_detachable(GTK_NOTEBOOK(window->notebook), - tab_page, TRUE); - gtk_widget_show_all(tab_page); - gtk_widget_show_all(tab_label); -} - -void mq_window_set_current_tab(MqWindow *window, guint tab) { window->current_tab = tab; diff --git a/src/window.h b/src/window.h index 3e82263..fa333f0 100644 --- a/src/window.h +++ b/src/window.h @@ -62,10 +62,6 @@ void mq_window_toggle_fullscreen(MqWindow *window); void -mq_window_insert_tab(MqWindow *window, GtkWidget *tab_page, - GtkWidget *tab_label, gint position); - -void mq_window_set_current_tab(MqWindow *window, guint tab); guint |