From 147d7c7707f9fa2a22e66695d0b12b361f575642 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Tue, 2 Feb 2016 00:40:41 +0100 Subject: GTK3: add caja-location-entry style class Neeed for gtk+-3.20 --- src/caja-location-entry.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/caja-location-entry.c b/src/caja-location-entry.c index 3b08a1c8..ad333272 100644 --- a/src/caja-location-entry.c +++ b/src/caja-location-entry.c @@ -443,6 +443,14 @@ caja_location_entry_set_secondary_action (CajaLocationEntry *entry, static void caja_location_entry_init (CajaLocationEntry *entry) { + +#if GTK_CHECK_VERSION(3, 0, 0) + GtkStyleContext *context; + + context = gtk_widget_get_style_context (GTK_WIDGET (entry)); + gtk_style_context_add_class (context, "caja-location-entry"); +#endif + entry->details = g_new0 (CajaLocationEntryDetails, 1); entry->details->completer = g_filename_completer_new (); -- cgit v1.2.1