]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/execute.c
Add options for controlling frame flashing
[chaz/openbox] / openbox / actions / execute.c
index 18daf78467f07bf33661d584b6b4de2a0bbe4f28..380ffa008996936d4484d3d6bb15914cf861417c 100644 (file)
@@ -232,7 +232,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 
     e = NULL;
     if (!g_shell_parse_argv(cmd, NULL, &argv, &e)) {
-        g_message(e->message, o->cmd);
+        g_message("%s", e->message);
         g_error_free(e);
     }
     else {
@@ -254,13 +254,13 @@ static gboolean run_func(ObActionsData *data, gpointer options)
                            G_SPAWN_DO_NOT_REAP_CHILD,
                            NULL, NULL, NULL, &e);
         if (!ok) {
-            g_message(e->message, o->cmd);
+            g_message("%s", e->message);
             g_error_free(e);
         }
 
         if (o->sn) {
             if (!ok) sn_spawn_cancel();
-            unsetenv("DESKTOP_STARTUP_ID");
+            g_unsetenv("DESKTOP_STARTUP_ID");
         }
 
         g_free(program);
This page took 0.021283 seconds and 4 git commands to generate.