remove debug print
This commit is contained in:
parent
52b99477db
commit
121afb76eb
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
|
||||||
|
|
||||||
if (FcPatternGetBool(match, OB_SHADOW, 0, &out->shadow) != FcResultMatch)
|
if (FcPatternGetBool(match, OB_SHADOW, 0, &out->shadow) != FcResultMatch)
|
||||||
out->shadow = FALSE;
|
out->shadow = FALSE;
|
||||||
g_message("shadow %d", out->shadow);
|
|
||||||
|
|
||||||
if (FcPatternGetInteger(match, OB_SHADOW_OFFSET, 0, &out->offset) !=
|
if (FcPatternGetInteger(match, OB_SHADOW_OFFSET, 0, &out->offset) !=
|
||||||
FcResultMatch)
|
FcResultMatch)
|
||||||
|
@ -79,6 +78,7 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
|
||||||
|
|
||||||
font = XftFontOpenPattern(RrDisplay(inst), match);
|
font = XftFontOpenPattern(RrDisplay(inst), match);
|
||||||
if (!font) {
|
if (!font) {
|
||||||
|
FcPatternDestroy(match);
|
||||||
g_free(out);
|
g_free(out);
|
||||||
return NULL;
|
return NULL;
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue