about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-10-20 10:56:41 -0500
committerMarco Peereboom <marco@conformal.com>2011-10-20 10:56:41 -0500
commit5ce81fd91f7c220ee9b89277ecf631c4b68f71ed (patch)
tree7b9546345f55681edcd8ddd4ed24f7b68451f123
parent1b7c992e8d5bbb3e27727a04856db4818956626b (diff)
downloadxombrero-5ce81fd91f7c220ee9b89277ecf631c4b68f71ed.tar.gz
Revert "Make https coloring work in gtk3"
This reverts commit 5d59581f05930cdc31b26b0a6d163baa035c0e89.
-rw-r--r--xxxterm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xxxterm.c b/xxxterm.c
index e9955fb..51a83a0 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -67,7 +67,7 @@ void arc4random_buf(void *, size_t);
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
-#if GTK_CHECK_VERSION(3, 0, 0)
+#if GTK_CHECK_VERSION(3,0,0)
 /* we still use GDK_* instead of GDK_KEY_* */
 #include <gdk/gdkkeysyms-compat.h>
 #endif
@@ -6468,11 +6468,7 @@ color_address_bar(gpointer p)
 		goto done;
 white:
 	gdk_color_parse(col_str, &color);
-#if GTK_CHECK_VERSION(3, 0, 0)
-	gtk_widget_modify_bg(t->uri_entry, GTK_STATE_NORMAL, &color);
-#else
 	gtk_widget_modify_base(t->uri_entry, GTK_STATE_NORMAL, &color);
-#endif
 
 	if (!strcmp(col_str, XT_COLOR_WHITE))
 		statusbar_modify_attr(t, col_str, XT_COLOR_BLACK);