[gtk+] placessiderbar: Fix sunny compilation



commit 77efc60a15772b3649b2af5c8bb721b4f91aabab
Author: Benjamin Otte <otte redhat com>
Date:   Mon Nov 13 23:44:26 2017 +0100

    placessiderbar: Fix sunny compilation
    
    Make compilation not warn about unused variables when compiling with
    HAVE_CLOUDPROVIDERS undefined.

 gtk/gtkplacessidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 247d1b4..acd866f 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4367,10 +4367,10 @@ gtk_places_sidebar_dispose (GObject *object)
 static void
 gtk_places_sidebar_finalize (GObject *object)
 {
+#ifdef HAVE_CLOUDPROVIDERS
   GtkPlacesSidebar *sidebar;
 
   sidebar = GTK_PLACES_SIDEBAR (object);
-#ifdef HAVE_CLOUDPROVIDERS
   g_clear_object (&sidebar->cloud_manager);
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]