summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-14 11:14:30 +0200
committerDave Davenport <qball@gmpclient.org>2017-04-14 11:14:30 +0200
commitd2bf704d93024f5a81ef905dbe61e5a8072e4087 (patch)
treef48480920e026c47929f7767fc11de897686ec1f
parent1bfbc327c249fb9cad463a3949489fa2a55f3416 (diff)
Print warning in using g_log.
-rw-r--r--source/rofi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c
index f0c1dde2..402471ed 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -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;
}
}