[gnome-keyring] [gcr] Fix Gtk+ version check.



commit 5e068c55bf369433a3de5299900cb1fc9a4b634d
Author: Stef Walter <stefw collabora co uk>
Date:   Thu Dec 9 22:25:48 2010 +0000

    [gcr] Fix Gtk+ version check.
    
    2.91.6 has the new style-context code, not 2.91.5

 gcr/gcr-display-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/gcr-display-view.c b/gcr/gcr-display-view.c
index 6c9c354..9eeea07 100644
--- a/gcr/gcr-display-view.c
+++ b/gcr/gcr-display-view.c
@@ -136,7 +136,7 @@ on_expander_expanded (GObject *object, GParamSpec *param_spec, gpointer user_dat
 static void
 style_display_item (GtkWidget *widget, GcrDisplayItem *item)
 {
-#if GTK_CHECK_VERSION (2,91,5)
+#if GTK_CHECK_VERSION (2,91,6)
 	GdkRGBA transparent = { 1.0, 1.0, 1.0, 0.0 };
 	gtk_widget_override_background_color (item->details_widget, GTK_STATE_NORMAL, &transparent);
 #else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]