diff options
author | Marco Peereboom <marco@conformal.com> | 2011-02-25 12:49:21 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-02-25 12:49:21 +0000 |
commit | 88b500d174f7a7bb3276441a9c02b8345e608883 (patch) | |
tree | 11c9fcc17b4a6f2c8c6c216c8210a3c0043f87f8 | |
parent | 96ab182bfb3cd371f5ca4e6a42e547a637f3d070 (diff) | |
download | xombrero-88b500d174f7a7bb3276441a9c02b8345e608883.tar.gz |
KNF the todd
-rw-r--r-- | xxxterm.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/xxxterm.c b/xxxterm.c index 1407afe..b6d403b 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -5452,14 +5452,12 @@ xt_icon_from_name(struct tab *t, gchar *name) { gtk_entry_set_icon_from_icon_name(GTK_ENTRY(t->uri_entry), GTK_ENTRY_ICON_PRIMARY, "text-html"); - if (show_url == 0) { + if (show_url == 0) gtk_entry_set_icon_from_icon_name(GTK_ENTRY(t->statusbar), GTK_ENTRY_ICON_PRIMARY, "text-html"); - } else { + else gtk_entry_set_icon_from_icon_name(GTK_ENTRY(t->statusbar), GTK_ENTRY_ICON_PRIMARY, NULL); - } - return; } void @@ -5467,13 +5465,12 @@ xt_icon_from_pixbuf(struct tab *t, GdkPixbuf *pixbuf) { gtk_entry_set_icon_from_pixbuf(GTK_ENTRY(t->uri_entry), GTK_ENTRY_ICON_PRIMARY, pixbuf); - if (show_url == 0) { + if (show_url == 0) gtk_entry_set_icon_from_pixbuf(GTK_ENTRY(t->statusbar), GTK_ENTRY_ICON_PRIMARY, pixbuf); - } else { + else gtk_entry_set_icon_from_icon_name(GTK_ENTRY(t->statusbar), GTK_ENTRY_ICON_PRIMARY, NULL); - } } gboolean |