summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-09 23:55:07 +0100
committerinfirit <[email protected]>2014-12-10 00:54:06 +0100
commit2ec79c385a21ef37d16895c7a622da303a76bf13 (patch)
treee136f45a1b4c55e25d66b0e75bd6132cace4b6e2 /shell
parenta7b9ecdd923ede7aa92f60241fb25b009a4ec895 (diff)
downloadatril-2ec79c385a21ef37d16895c7a622da303a76bf13.tar.bz2
atril-2ec79c385a21ef37d16895c7a622da303a76bf13.tar.xz
Gtk3: eggfindbar: remove unused style properties
Taken from evince commit: fe90f499e34d3c001e1b2e50e23d0ef12e824c6f From: Carlos Garcia Campos <[email protected]>
Diffstat (limited to 'shell')
-rw-r--r--shell/eggfindbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index 6744d371..e68cc844 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -162,6 +162,7 @@ egg_find_bar_class_init (EggFindBarClass *klass)
FALSE,
G_PARAM_READWRITE));
+#if !GTK_CHECK_VERSION (3, 0, 0)
/* Style properties */
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("all_matches_color",
@@ -176,6 +177,7 @@ egg_find_bar_class_init (EggFindBarClass *klass)
"Color of highlight for the current match",
GDK_TYPE_COLOR,
G_PARAM_READABLE));
+#endif
g_type_class_add_private (object_class, sizeof (EggFindBarPrivate));
@@ -660,6 +662,7 @@ egg_find_bar_get_case_sensitive (EggFindBar *find_bar)
return priv->case_sensitive;
}
+#if !GTK_CHECK_VERSION (3, 0, 0)
static void
get_style_color (EggFindBar *find_bar,
const char *style_prop_name,
@@ -714,6 +717,7 @@ egg_find_bar_get_current_match_color (EggFindBar *find_bar,
*color = found_color;
}
+#endif
/**
* egg_find_bar_set_status_text: