From 83c1cf32ee6ed3b23f72b514d6a425632fb20b0c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Sep 2017 19:32:31 -0400 Subject: src/tab-chrome.[ch]: s/uri_bar/uri_entry/ --- (limited to 'src') diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 0afe3ce..39cba47 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -49,12 +49,12 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri) /* URI bar */ uri_toolitem = gtk_tool_item_new(); - chrome->uri_bar = gtk_entry_new_with_buffer( + chrome->uri_entry = gtk_entry_new_with_buffer( gtk_entry_buffer_new(uri, -1)); - gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_bar), + gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_entry), "URI..."); gtk_container_add(GTK_CONTAINER(uri_toolitem), - chrome->uri_bar); + chrome->uri_entry); gtk_tool_item_set_expand(uri_toolitem, TRUE); gtk_toolbar_insert(navigation_toolbar, uri_toolitem, -1); diff --git a/src/tab-chrome.h b/src/tab-chrome.h index 565fedd..74f65fe 100644 --- a/src/tab-chrome.h +++ b/src/tab-chrome.h @@ -26,7 +26,7 @@ typedef struct { GtkWidget *container; - GtkWidget *uri_bar; + GtkWidget *uri_entry; } MqTabChrome; MqTabChrome * -- cgit v0.9.1