summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c16
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 *