summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-chrome.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 9c67931..8a992cc 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -49,8 +49,8 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri)
/* URI bar */
uri_toolitem = gtk_tool_item_new();
- chrome->uri_entry = gtk_entry_new_with_buffer(
- gtk_entry_buffer_new(uri, -1));
+ chrome->uri_entry = gtk_entry_new();
+ gtk_entry_set_text(GTK_ENTRY(chrome->uri_entry), uri);
gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_entry),
"URI...");
gtk_container_add(GTK_CONTAINER(uri_toolitem),