summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 16:20:23 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 16:20:23 (EDT)
commit848f166b57323e030e454ce13b1394dc422d2b55 (patch)
tree0546ca2b8b7b479d8aed5e1f6a50013a1855d72b
parent9f14f261894c45b4d0ebaecab73750a37937e809 (diff)
downloadmarquee-848f166b57323e030e454ce13b1394dc422d2b55.zip
marquee-848f166b57323e030e454ce13b1394dc422d2b55.tar.gz
marquee-848f166b57323e030e454ce13b1394dc422d2b55.tar.bz2
mq_find_toolbar_new(): Drop GTK_WIDGET()
-rw-r--r--src/find-toolbar.c4
1 files changed, 2 insertions, 2 deletions
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