From 848f166b57323e030e454ce13b1394dc422d2b55 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 12 Oct 2017 16:20:23 -0400 Subject: mq_find_toolbar_new(): Drop GTK_WIDGET() --- (limited to 'src/find-toolbar.c') diff --git a/src/find-toolbar.c b/src/find-toolbar.c index 882b7c1..3d3616c 100644 --- a/src/find-toolbar.c +++ b/src/find-toolbar.c @@ -326,9 +326,9 @@ mq_find_toolbar_init(MqFindToolbar *find_toolbar) GtkWidget * mq_find_toolbar_new(MqWebView *web_view) { - return GTK_WIDGET(g_object_new(MQ_TYPE_FIND_TOOLBAR, + return g_object_new(MQ_TYPE_FIND_TOOLBAR, "web-view", web_view, - NULL)); + NULL); } void -- cgit v0.9.1