]> Dogcows Code - chaz/openbox/blobdiff - openbox/config.c
fix7
[chaz/openbox] / openbox / config.c
index dd8d2b830b9314d6f570c20a0b8353117e45cd35..6df57241edd60855ef817e093e31cea953cf46d0 100644 (file)
@@ -22,6 +22,7 @@
 #include "mouse.h"
 #include "prop.h"
 #include "translate.h"
+#include "client.h"
 #include "parser/parse.h"
 #include "openbox.h"
 
@@ -121,7 +122,7 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc,
         gboolean x_pos_given = FALSE;
         if (parse_attr_string("name", app, &name)) {
             xmlNodePtr n, c;
-            ObAppSettings *settings = g_new0(ObAppSetting, 1);
+            ObAppSettings *settings = g_new0(ObAppSettings, 1);
             settings->name = name;
 
             settings->decor = TRUE;
@@ -180,7 +181,7 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc,
             }
 
             config_per_app_settings = g_slist_append(config_per_app_settings,
-                                              (gpointer) setting);
+                                              (gpointer) settings);
         }
         
         app = parse_find_node("application", app->next);
This page took 0.020056 seconds and 4 git commands to generate.