Fix build break 62/33462/1
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 12 Jan 2015 01:15:39 +0000 (10:15 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 12 Jan 2015 01:15:39 +0000 (10:15 +0900)
fix to use g_main_loop_quit
fix indent using tab

Change-Id: I12159071deac92bf23c876505b349709b7bf7dfd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
server/src/pkgmgr-server.c

index d4a6b0a..eb8b179 100644 (file)
@@ -1149,21 +1149,21 @@ static int __check_queue_status_for_exit()
        }
        return 1;
 }
+
 gboolean exit_server(void *data)
 {
        DBG("exit_server Start\n");
        if (__check_backend_status_for_exit() &&
-                __check_queue_status_for_exit() &&
+                       __check_queue_status_for_exit() &&
                        drawing_popup == 0) {
-                        if (!getenv("PMS_STANDALONE") && ail_db_update) {
-                                ecore_main_loop_quit();
-                                return FALSE;
-                        }
-        }
+               if (!getenv("PMS_STANDALONE") && ail_db_update) {
+                       g_main_loop_quit(mainloop);
+                       return FALSE;
+               }
+       }
        return TRUE;
 }
 
-
 int __app_func(const pkgmgrinfo_appinfo_h handle, void *user_data)
 {
        int ret = 0;