diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-16 23:25:53 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-16 23:25:53 (EDT) |
commit | a3dbfc96cf43f341534f6620c2c0cda8662f7996 (patch) | |
tree | 729e95f207b8d2142e5beb0aadb574afce1822ce /src | |
parent | 2fa97e782d609657fc4855c9daa77c2e2ac790fd (diff) | |
download | marquee-a3dbfc96cf43f341534f6620c2c0cda8662f7996.zip marquee-a3dbfc96cf43f341534f6620c2c0cda8662f7996.tar.gz marquee-a3dbfc96cf43f341534f6620c2c0cda8662f7996.tar.bz2 |
navigation_toolbar_new(): Don't create GtkEntryBuffer for URI bar
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 4 |
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), |