summaryrefslogtreecommitdiff
path: root/src/lib/elm_app_client_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_app_client_view.c')
-rw-r--r--src/lib/elm_app_client_view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_app_client_view.c b/src/lib/elm_app_client_view.c
index 3ad1399c1..62fa1fd46 100644
--- a/src/lib/elm_app_client_view.c
+++ b/src/lib/elm_app_client_view.c
@@ -167,6 +167,8 @@ _dbus_state_set_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *pendin
167 void *user_data = eldbus_pending_data_del(pending, "user_data"); 167 void *user_data = eldbus_pending_data_del(pending, "user_data");
168 const char *error = NULL, *error_message = NULL; 168 const char *error = NULL, *error_message = NULL;
169 169
170 if (!cb) return;
171
170 if (!eldbus_message_error_get(msg, &error, &error_message)) 172 if (!eldbus_message_error_get(msg, &error, &error_message))
171 error_message = NULL; 173 error_message = NULL;
172 174