X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tools%2Fthemetoxml%2Fthemetoxml.c;h=77e91be32a0a48c8192e5f9f7927d3078a97c469;hb=23a43c5a403785bd9b408da00bc89dc9c1f141d7;hp=a75cf19afc95af1e06a73960b9329406054db3de;hpb=5fb30e4488f8d979967d52fa5cfb7bec6ff1d5f4;p=chaz%2Fopenbox diff --git a/tools/themetoxml/themetoxml.c b/tools/themetoxml/themetoxml.c index a75cf19a..77e91be3 100644 --- a/tools/themetoxml/themetoxml.c +++ b/tools/themetoxml/themetoxml.c @@ -89,8 +89,7 @@ static gboolean read_string(XrmDatabase db, const gchar *rname, if (XrmGetResource(db, rname, rclass, &rettype, &retvalue) && retvalue.addr != NULL) { - *value = retvalue.addr; - g_strstrip(*value); + *value = g_strstrip(retvalue.addr); ret = TRUE; } @@ -451,9 +450,9 @@ int main(int argc, char **argv) APPEARANCE4("window.inactive.button.pressed.bg", "window", "inactive", "buttons", "pressed"); APPEARANCE4("window.active.button.toggled.bg", - "window", "active", "buttons", "toggled"); + "window", "active", "buttons", "toggled-unpressed"); APPEARANCE4("window.inactive.button.toggled.bg", - "window", "inactive", "buttons", "toggled"); + "window", "inactive", "buttons", "toggled-unpressed"); APPEARANCE4("window.active.button.unpressed.bg", "window", "active", "buttons", "unpressed"); APPEARANCE4("window.inactive.button.unpressed.bg",