Update sample (viewer)
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 23 Oct 2014 05:41:32 +0000 (14:41 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 23 Oct 2014 05:41:32 +0000 (14:41 +0900)
live.viewer should be built successfully with this library.
Fix some build error.

[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ia90105e835d8b42d7fe3931cfe2ae62239e9ec7b

live.viewer/viewer/src/dynamicbox_evas.c

index 83e5602..033f5b8 100644 (file)
@@ -3840,16 +3840,16 @@ EAPI int evas_object_dynamicbox_init(Evas_Object *win, int force_to_buffer)
                return ret;
        }
 
-       ret = dynamicbox_set_event_handler(dynamicbox_event_handler, NULL);
+       ret = dynamicbox_add_event_handler(dynamicbox_event_handler, NULL);
        if (ret != DBOX_STATUS_ERROR_NONE) {
                ErrPrint("Failed to set handler\n");
                dynamicbox_fini();
        } else {
                DbgPrint("Event handler registered\n");
-               ret = dynamicbox_set_fault_handler(dynamicbox_fault_handler, NULL);
+               ret = dynamicbox_add_fault_handler(dynamicbox_fault_handler, NULL);
                if (ret != DBOX_STATUS_ERROR_NONE) {
                        ErrPrint("Failed to set fault handler\n");
-                       dynamicbox_unset_event_handler(dynamicbox_event_handler);
+                       dynamicbox_remove_event_handler(dynamicbox_event_handler);
                        dynamicbox_fini();
                } else {
                        DbgPrint("Fault handler is registered\n");
@@ -3864,8 +3864,8 @@ EAPI int evas_object_dynamicbox_init(Evas_Object *win, int force_to_buffer)
 
 EAPI int evas_object_dynamicbox_fini(void)
 {
-       dynamicbox_unset_event_handler(dynamicbox_event_handler);
-       dynamicbox_unset_fault_handler(dynamicbox_fault_handler);
+       dynamicbox_remove_event_handler(dynamicbox_event_handler);
+       dynamicbox_remove_fault_handler(dynamicbox_fault_handler);
        dynamicbox_fini();
        return 0;
 }