Remove warning message of GERROR_CHECK redefinition 12/122212/2
authorPawel Kurowski <p.kurowski2@samsung.com>
Thu, 30 Mar 2017 13:33:51 +0000 (15:33 +0200)
committerLukasz Oleksak <l.oleksak@samsung.com>
Thu, 30 Mar 2017 14:30:37 +0000 (07:30 -0700)
Change-Id: I20ac026c8a1b4e89029f674d1c186654944648e8

src/screen_reader_tts.c
src/screen_reader_utils.c

index 28eb9cd048ef26706b5526e58071dd5b50aeed1a..3a542475faac6655929580507b1bfaee9488867b 100644 (file)
@@ -59,15 +59,6 @@ typedef enum _Play_Read_Command_Status {
 
 #define REMOVE_PRECEDING_READ_COMMANDS_LIMIT 1
 
-#define GERROR_CHECK(error)\
-  GError *_error = error;\
-  if (_error)\
-   {\
-        ERROR("Error_log:%s", _error->message);\
-        g_error_free(_error);\
-        _error = NULL;\
-   }
-
 DEBUG_CODE(
 
 static const char *sprintf_command(Read_Command *command)
index 8256865d4b0a7aada101b3184d4fbd31c4e7e599..bfbb013a57db791912a0dbe54784aa38e815b3f0 100644 (file)
@@ -9,14 +9,6 @@
 #define TIZEN_PROD_STATIC
 #endif
 
-#define GERROR_CHECK(error)\
-  if (error)\
-   {\
-     ERROR("Error_log:%s",error->message);\
-     g_error_free(error);\
-     error = NULL;\
-   }
-
 char *state_to_char(AtspiStateType state)
 {
        switch (state) {
@@ -275,14 +267,6 @@ bool widget_has_state(AtspiAccessible *obj, AtspiStateType type)
        return ret;
 }
 
-#define GERROR_CHECK(error)\
-if (error)\
-       {\
-       ERROR("Error_log:%s",error->message);\
-       g_error_free(error);\
-       error = NULL;\
-       }
-
 Eina_Bool widget_do_action(AtspiAccessible *obj, char *expected_action)
 {
        if (!obj) {