summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2018-03-19 02:06:40 (GMT)
committerJiyong Min <jiyong.min@samsung.com>2018-03-19 02:06:40 (GMT)
commit29c0a5022cf22b954b8127ccaccccceceda6afec (patch)
treeba3ec7acc493d9424824e4e3b35533191a0510d2 /server
parentd6646524f5481c9e44287a786f29a98e45306b3c (diff)
downloadlibmedia-thumbnail-29c0a5022cf22b954b8127ccaccccceceda6afec.zip
libmedia-thumbnail-29c0a5022cf22b954b8127ccaccccceceda6afec.tar.gz
libmedia-thumbnail-29c0a5022cf22b954b8127ccaccccceceda6afec.tar.bz2
Fix build error for CMake upgrade
Diffstat (limited to 'server')
-rwxr-xr-xserver/CMakeLists.txt2
-rwxr-xr-xserver/thumb-server.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt
index 35f14a8..6f2eef7 100755
--- a/server/CMakeLists.txt
+++ b/server/CMakeLists.txt
@@ -5,7 +5,7 @@ SET(THUMB-SERVER
thumb-server-internal.c)
INCLUDE(FindPkgConfig)
- pkg_check_modules(pkgs REQUIRED glib-2.0 gthread-2.0 dlog mm-fileinfo aul libexif ecore-evas evas libmedia-utils libtzplatform-config)
+ pkg_check_modules(pkgs REQUIRED glib-2.0 gthread-2.0 dlog mm-fileinfo aul libexif libmedia-utils libtzplatform-config)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
diff --git a/server/thumb-server.c b/server/thumb-server.c
index 4bb521f..fcdee24 100755
--- a/server/thumb-server.c
+++ b/server/thumb-server.c
@@ -63,10 +63,10 @@ int main(void)
g_source_set_callback(source, (GSourceFunc)_thumb_server_read_socket, NULL, NULL);
g_source_attach(source, context);
- GSource *source_evas_init = NULL;
- source_evas_init = g_idle_source_new();
- g_source_set_callback(source_evas_init, _thumb_daemon_start_jobs, NULL, NULL);
- g_source_attach(source_evas_init, context);
+ GSource *source_init = NULL;
+ source_init = g_idle_source_new();
+ g_source_set_callback(source_init, _thumb_daemon_start_jobs, NULL, NULL);
+ g_source_attach(source_init, context);
thumb_info("Thumbnail server is running");
g_main_loop_run(g_thumb_server_mainloop);