]> Dogcows Code - chaz/openbox/blobdiff - openbox/session.c
compile fixes
[chaz/openbox] / openbox / session.c
index 6e4c07d213bb5727cd11132bd2d820613e352cf1..f6314dd2d62462ae8637f586f7432ae2ace558e8 100644 (file)
@@ -2,9 +2,14 @@
 
 #ifndef USE_SM
 
+#include "session.h"
+#include "client.h"
+
 void session_load(char *path) {}
 void session_startup(int argc, char **argv) {}
 void session_shutdown() {}
+ObSessionState* session_state_find(ObClient *c) { return NULL; }
+void session_state_free(ObSessionState *state) {}
 
 #else
 
@@ -417,8 +422,6 @@ void session_load(char *path)
     xmlNodePtr node, n;
     gchar *sm_id;
 
-    g_message("loading session from %s", path);
-
     if (!parse_load(path, "openbox_session", &doc, &node))
         return;
 
@@ -478,10 +481,7 @@ void session_load(char *path)
         state->max_vert =
             parse_find_node("max_vert", node->xmlChildrenNode) != NULL;
         
-        g_message("read session window %s", state->name);
-
         /* save this */
-        g_message("saved state for %s %s", state->name, state->id);
         sm_saved_state = g_slist_prepend(sm_saved_state, state);
         goto session_load_ok;
 
This page took 0.025119 seconds and 4 git commands to generate.