X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fw-input-template.cpp;h=adb23e1d9e9af71fe8805a0200d87367063d5ef3;hb=b061524626e252af8a78e1f1e660be6df31f88bc;hp=543709ce71c18a79f660553b6972e87f0ffa75c3;hpb=cc09d8641f385fbc04f0d6c32e4511d8faa42a1b;p=platform%2Fcore%2Fuifw%2Finputdelegator.git diff --git a/src/w-input-template.cpp b/src/w-input-template.cpp index 543709c..adb23e1 100755 --- a/src/w-input-template.cpp +++ b/src/w-input-template.cpp @@ -49,9 +49,9 @@ static bool input_template_init_default(void); static void _input_template_db_vconf_changed(keynode_t *key, void *data) { - bool db_status = vconf_keynode_get_bool (key); + bool db_status = vconf_keynode_get_bool(key); - PRINTFUNC(DLOG_DEBUG,"starts :: db_status = %d", db_status); + PRINTFUNC(DLOG_DEBUG, "starts :: db_status = %d", db_status); if(db_status != 0) return; @@ -137,7 +137,7 @@ static bool input_template_init_db_util(void) "select sortId, itemId, checked, message from %s", "tmpl_msg_table"); - sqlite3_prepare_v2(g_tt_db, query, strlen(query), &stmt, NULL); + ret = sqlite3_prepare_v2(g_tt_db, query, strlen(query), &stmt, NULL); if (ret != SQLITE_OK) { PRINTFUNC(DLOG_ERROR, "Can not get query"); @@ -280,7 +280,6 @@ void input_template_set_notify(input_template_changed callback, void input_template_unset_notify(void) { - g_input_template.callback = NULL; g_input_template.user_data = NULL; }