summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
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;