diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-02 00:42:11 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-02 00:42:11 +0100 |
commit | 6fd67036b7bb6bad36b9101b6e9b15e5d9852677 (patch) | |
tree | 97f6f428426ab79841f5667cad177b6c2cb3e9cc | |
parent | 147d7c7707f9fa2a22e66695d0b12b361f575642 (diff) | |
download | caja-6fd67036b7bb6bad36b9101b6e9b15e5d9852677.tar.bz2 caja-6fd67036b7bb6bad36b9101b6e9b15e5d9852677.tar.xz |
GTK3: add caja-search-bar style class
Needed fot gtk+-3.20
-rw-r--r-- | src/caja-search-bar.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/caja-search-bar.c b/src/caja-search-bar.c index d09ffc3b..f090e556 100644 --- a/src/caja-search-bar.c +++ b/src/caja-search-bar.c @@ -157,6 +157,12 @@ caja_search_bar_init (CajaSearchBar *bar) GtkWidget *alignment; GtkWidget *hbox; GtkWidget *label; +#if GTK_CHECK_VERSION(3, 0, 0) + GtkStyleContext *context; + + context = gtk_widget_get_style_context (GTK_WIDGET (bar)); + gtk_style_context_add_class (context, "caja-search-bar"); +#endif bar->details = g_new0 (CajaSearchBarDetails, 1); |