From eeab38b45a9cfbed8b27a3aefae617e8c111e81e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 23 Oct 2017 06:11:01 -0400 Subject: MqTabPage: Use mq_notebook_update_tab_title() --- (limited to 'src') diff --git a/src/tab-page.c b/src/tab-page.c index 9012147..364879e 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -29,6 +29,7 @@ #include #include "application.h" +#include "notebook.h" #include "tab-label.h" #include "toolbars/find-toolbar.h" #include "toolbars/navigation-toolbar.h" @@ -66,7 +67,9 @@ title_cb(WebKitWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec, MqTabPage *tab_page) { tab_page->title = webkit_web_view_get_title(web_view); - mq_window_update_tab_title(tab_page->window, tab_page->position, + mq_notebook_update_tab_title( + MQ_NOTEBOOK(gtk_widget_get_parent(GTK_WIDGET(tab_page))), + tab_page, tab_page->title); } -- cgit v0.9.1