1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Print warning in using g_log.

This commit is contained in:
Dave Davenport 2017-04-14 11:14:30 +02:00
parent 1bfbc327c2
commit d2bf704d93

View file

@ -667,7 +667,7 @@ static gboolean main_loop_x11_event_handler ( xcb_generic_event_t *ev, G_GNUC_UN
g_main_loop_quit ( main_loop );
return G_SOURCE_REMOVE;
} else {
fprintf ( stderr, "Warning: main_loop_x11_event_handler: ev == NULL, status == %d\n", status );
g_log ( LOG_DOMAIN, G_LOG_LEVEL_WARNING, "main_loop_x11_event_handler: ev == NULL, status == %d", status );
return G_SOURCE_CONTINUE;
}
}