summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index cc65652..6de74ad 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -25,7 +25,6 @@
#include <dirent.h>
#include <stdio.h>
#include <string.h>
-#include <Ecore_Evas.h>
#include <vconf.h>
#ifdef LOG_TAG
@@ -65,9 +64,8 @@ void _thumb_daemon_finish_jobs()
thumb_dbg("sqlite3 handle is alive. So disconnect to sqlite3");
}
- /* Shutdown ecore-evas */
- ecore_evas_shutdown();
-
+ g_main_loop_quit(g_thumb_server_mainloop);
+
return;
}
@@ -404,7 +402,7 @@ gboolean _thumb_server_read_socket(GIOChannel *src,
if(recv_msg.msg_type == THUMB_REQUEST_KILL_SERVER) {
thumb_warn("Shutting down...");
- ecore_main_loop_quit();
+ g_main_loop_quit(g_thumb_server_mainloop);
}
return TRUE;