summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-15 11:37:50 +0200
committerDave Davenport <qball@gmpclient.org>2017-04-15 11:37:50 +0200
commitba9e1fb92a3d4428252f36e8df0dc77cd3874179 (patch)
tree431e08271e1b612fab1420393fa33ca0f4b8a6c5 /source/helper.c
parentd2bf704d93024f5a81ef905dbe61e5a8072e4087 (diff)
Switch to g_{debug,warning} instead of g_log
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/helper.c b/source/helper.c
index f4b010fc..7e85dea7 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -51,7 +51,8 @@
#include "rofi.h"
#include "view.h"
-#define LOG_DOMAIN "Helper"
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "Helper"
/**
* Textual description of positioning rofi.
@@ -535,8 +536,8 @@ gboolean helper_validate_font ( PangoFontDescription *pfd, const char *font )
const char *fam = pango_font_description_get_family ( pfd );
int size = pango_font_description_get_size ( pfd );
if ( fam == NULL || size == 0 ) {
- g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Pango failed to parse font: '%s'", font );
- g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Got family: <b>%s</b> at size: <b>%d</b>", fam ? fam : "{unknown}", size );
+ g_debug ( "Pango failed to parse font: '%s'", font );
+ g_debug ( "Got family: <b>%s</b> at size: <b>%d</b>", fam ? fam : "{unknown}", size );
return FALSE;
}
return TRUE;