openbox/openbox \
tools/gnome-panel-control/gnome-panel-control
-secretbin_SCRIPTS = \
+dist_secretbin_SCRIPTS = \
tools/xdg-autostart/xdg-autostart
nodist_bin_SCRIPTS = \
dist_pixmap_DATA = \
data/openbox.png
+nodist_rc_DATA = \
+ data/autostart.sh
+
dist_rc_DATA = \
- data/autostart.sh \
data/rc.xml \
data/menu.xml
data/xsession/openbox-kde.desktop
dist_noinst_DATA = \
+ data/autostart.sh.in \
data/rc.xsd \
data/menu.xsd \
data/xsession/openbox.desktop.in \
g_free(o->sn_name);
g_free(o->sn_icon);
g_free(o->sn_wmclass);
+ g_free(o->prompt);
g_free(o);
}
}
static gboolean run_func(ObActionsData *data, gpointer options);
-static void prompt_cb(ObPrompt *p, gint result, gpointer data)
+static void prompt_cb(ObPrompt *p, gint result, gpointer options)
{
- Options *options = data;
-
if (result)
run_func(NULL, options);
prompt_unref(p);
-
- g_free(options->cmd);
- g_free(options->sn_name);
- g_free(options->sn_icon);
- g_free(options->sn_wmclass);
- g_free(options);
+ free_func(options);
}
/* Always return FALSE because its not interactive */