From 38246d857a1b8e7d51d985e793fea5268aed7684 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 12 Oct 2017 16:08:15 -0400 Subject: mq_tab_chrome_new(): Get and save MqFindToolbar from caller Also change member type in struct. And update call in MqTab. --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index c3eb7c5..f99ca91 100644 --- a/src/tab.c +++ b/src/tab.c @@ -446,7 +446,8 @@ init_non_root(const gchar *uri, MqTab *source) find_toolbar = mq_find_toolbar_new(MQ_WEB_VIEW(tab->web_view)); - tab->chrome = mq_tab_chrome_new(tab, MQ_WEB_VIEW(tab->web_view), uri); + tab->chrome = mq_tab_chrome_new(tab, MQ_FIND_TOOLBAR(find_toolbar), + MQ_WEB_VIEW(tab->web_view), uri); tab->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(tab->container), -- cgit v0.9.1