diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 07:16:38 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 07:16:38 (EDT) |
commit | a5241c5fd7762b0f3d04491579390035df42f612 (patch) | |
tree | 3c72d1666982978f94638652b8a85db569a21cd7 /src | |
parent | 9a0439a3b813613cb3e5b476c49426eba365c2a6 (diff) | |
download | marquee-a5241c5fd7762b0f3d04491579390035df42f612.zip marquee-a5241c5fd7762b0f3d04491579390035df42f612.tar.gz marquee-a5241c5fd7762b0f3d04491579390035df42f612.tar.bz2 |
MqWindow: Drop notebook positions update callback
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/window.c b/src/window.c index 7432d63..c8cd70b 100644 --- a/src/window.c +++ b/src/window.c @@ -182,20 +182,6 @@ set_title(MqWindow *window, const gchar *title) } static void -update_positions(GtkNotebook G_GNUC_UNUSED *notebook, - GtkWidget G_GNUC_UNUSED *child, guint G_GNUC_UNUSED page_num, - MqWindow *window) -{ - /* TODO: After MqTab becomes MqTabPage, derived from GtkBox, call - * mq_tab_page_update_positions() on child or - * mq_tab_page_seek(page_num + 1), whichever has the lower position. */ - /* TODO: Should this also update the tabs data structure? Probably. */ - - /* Temporarily "use" window. */ - window = window; -} - -static void constructed(GObject *object) { MqWindow *window; @@ -315,8 +301,6 @@ mq_window_init(MqWindow *window) window->notebook = mq_notebook_new(window); gtk_container_add(GTK_CONTAINER(window), window->notebook); - g_signal_connect(window->notebook, "page-reordered", - G_CALLBACK(update_positions), window); } MqWindow * |