From a3dbfc96cf43f341534f6620c2c0cda8662f7996 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Sep 2017 23:25:53 -0400 Subject: navigation_toolbar_new(): Don't create GtkEntryBuffer for URI bar --- (limited to 'src') 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), -- cgit v0.9.1