[accounts-dialog] Fix compile if there is no cheese support



commit c15e6ae70e98d4aa7fbd35ef683677a84c5e0cb0
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jan 22 14:51:53 2010 +0000

    Fix compile if there is no cheese support

 src/um-photo-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/um-photo-dialog.c b/src/um-photo-dialog.c
index 88856db..8ae0d63 100644
--- a/src/um-photo-dialog.c
+++ b/src/um-photo-dialog.c
@@ -539,8 +539,10 @@ um_photo_dialog_free (UmPhotoDialog *um)
 
         if (um->thumb_factory)
                 g_object_unref (um->thumb_factory);
+#ifdef HAVE_CHEESE
         if (um->monitor)
                 g_object_unref (um->monitor);
+#endif
 
         if (um->user)
                 g_object_unref (um->user);



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