X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmm_camcorder_util.c;h=6f342c6fff74836d2eda0ef107cd046a64b587c4;hb=bbe7eed533e7deb4961d494bead66b90c39dda39;hp=02a7cf88bc3ce3905f698a828af1f6dc86f72989;hpb=4e9ff9e5c5a930301b42cec54ea7a8041734fb79;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/src/mm_camcorder_util.c b/src/mm_camcorder_util.c index 02a7cf8..6f342c6 100644 --- a/src/mm_camcorder_util.c +++ b/src/mm_camcorder_util.c @@ -110,7 +110,7 @@ static int __gdbus_method_call_sync(GDBusConnection *conn, const char *bus_name, if (is_sync) { dbus_reply = g_dbus_connection_call_sync(conn, bus_name, object, iface, method, args, NULL, - G_DBUS_CALL_FLAGS_NONE, G_DBUS_REPLY_TIMEOUT, NULL, NULL); + G_DBUS_CALL_FLAGS_NONE, G_DBUS_TIMEOUT, NULL, NULL); if (dbus_reply) { _mmcam_dbg_log("Method Call '%s.%s' Success", iface, method); *result = dbus_reply; @@ -120,7 +120,7 @@ static int __gdbus_method_call_sync(GDBusConnection *conn, const char *bus_name, } } else { g_dbus_connection_call(conn, bus_name, object, iface, method, args, NULL, - G_DBUS_CALL_FLAGS_NONE, G_DBUS_REPLY_TIMEOUT, NULL, NULL, NULL); + G_DBUS_CALL_FLAGS_NONE, G_DBUS_TIMEOUT, NULL, NULL, NULL); } return ret; @@ -870,7 +870,7 @@ int _mmcamcorder_send_sound_play_message(GDBusConnection *conn, _MMCamcorderGDbu g_mutex_unlock(&gdbus_info->sync_mutex); if (sync_play && ret == MM_ERROR_NONE) - ret = __gdbus_wait_for_cb_return(gdbus_info, G_DBUS_CB_TIMEOUT_MSEC); + ret = __gdbus_wait_for_cb_return(gdbus_info, G_DBUS_TIMEOUT); return ret; }