From 0da420729ff5249c31de1744f216b40395db0e67 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 23:09:33 -0500 Subject: mq_uri_entry_grab_focus(): New function --- (limited to 'src/toolbars/navigation/uri-entry.c') diff --git a/src/toolbars/navigation/uri-entry.c b/src/toolbars/navigation/uri-entry.c index 2a76f7c..0781596 100644 --- a/src/toolbars/navigation/uri-entry.c +++ b/src/toolbars/navigation/uri-entry.c @@ -309,3 +309,9 @@ mq_uri_entry_new(MqWebView *web_view, const gchar *uri) "uri", uri, NULL); } + +void +mq_uri_entry_grab_focus(MqUriEntry *uri_entry) +{ + gtk_widget_grab_focus(uri_entry->uri_entry); +} -- cgit v0.9.1