From a5241c5fd7762b0f3d04491579390035df42f612 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 23 Oct 2017 07:16:38 -0400 Subject: MqWindow: Drop notebook positions update callback --- (limited to 'src') 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 * -- cgit v0.9.1