[gnac/devel] Fixed warnings



commit 6540bb934d2829e3aa8ee67f075453b304f08bd0
Author: BenoÃt Dupasquier <bdupasqu src gnome org>
Date:   Wed Jan 25 23:08:48 2012 +0000

    Fixed warnings

 src/profiles/gnac-profiles-manager.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/profiles/gnac-profiles-manager.c b/src/profiles/gnac-profiles-manager.c
index 4138037..362d669 100644
--- a/src/profiles/gnac-profiles-manager.c
+++ b/src/profiles/gnac-profiles-manager.c
@@ -517,9 +517,8 @@ gnac_profiles_mgr_get_profiles_list(void)
 void
 gnac_profiles_mgr_destroy(void)
 {
-  gnac_profiles_mgr_clear();
-
   if (profiles_mgr_builder) {
+    gnac_profiles_mgr_clear();
     GtkWidget *widget = gnac_profiles_mgr_get_widget("profile_manager_window");
     gtk_widget_destroy(widget);
     g_object_unref(profiles_mgr_builder);



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