From 5ce81fd91f7c220ee9b89277ecf631c4b68f71ed Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Thu, 20 Oct 2011 10:56:41 -0500 Subject: Revert "Make https coloring work in gtk3" This reverts commit 5d59581f05930cdc31b26b0a6d163baa035c0e89. --- xxxterm.c | 6 +----- 1 file changed, 1 insertion(+), 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 #include -#if GTK_CHECK_VERSION(3, 0, 0) +#if GTK_CHECK_VERSION(3,0,0) /* we still use GDK_* instead of GDK_KEY_* */ #include #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); -- cgit 1.4.1-2-gfad0