[gnome-keyring/trust-store] [gcr] Fix Gtk+ version check.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/trust-store] [gcr] Fix Gtk+ version check.
- Date: Fri, 10 Dec 2010 04:35:28 +0000 (UTC)
commit adf6c1c4b5d6bbe4289477539a3bab9a2cce7d3a
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]