From: Mikael Magnusson Date: Thu, 8 Jun 2006 10:57:17 +0000 (+0000) Subject: *coughs uncontrollably* X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=74695334c6c2f675abf05a9ceab3a08d2bdceef4;p=chaz%2Fopenbox *coughs uncontrollably* --- diff --git a/openbox/config.c b/openbox/config.c index d7cfc970..fcff4a09 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -118,7 +118,6 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc, xmlNodePtr app = parse_find_node("application", node->children); gchar *name; - while (app) { if (parse_attr_string("name", app, &name)) { xmlNodePtr n, c; diff --git a/openbox/per_app_settings.c b/openbox/per_app_settings.c index c1b728e2..c8ab4ed5 100644 --- a/openbox/per_app_settings.c +++ b/openbox/per_app_settings.c @@ -20,11 +20,9 @@ #include "screen.h" #include "config.h" -GSList *per_app_settings; - ObAppSetting *get_client_settings(ObClient *client) { - GSList *a = per_app_settings; + GSList *a = config_per_app_settings; while (a) { ObAppSetting *app = (ObAppSetting *) a->data;