From 2ec79c385a21ef37d16895c7a622da303a76bf13 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 9 Dec 2014 23:55:07 +0100 Subject: Gtk3: eggfindbar: remove unused style properties Taken from evince commit: fe90f499e34d3c001e1b2e50e23d0ef12e824c6f From: Carlos Garcia Campos --- shell/eggfindbar.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell/eggfindbar.c') 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: -- cgit v1.2.1