placessiderbar: Fix sunny compilation

Make compilation not warn about unused variables when compiling with
HAVE_CLOUDPROVIDERS undefined.
This commit is contained in:
Benjamin Otte 2017-11-13 23:44:26 +01:00
parent 457bf3b604
commit 77efc60a15

View File

@ -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