]>
Dogcows Code - chaz/openbox/blob - openbox/actions/debug.c
1 #include "openbox/actions.h"
8 static gpointer
setup_func(ObParseInst
*i
, xmlDocPtr doc
, xmlNodePtr node
);
9 static void free_func(gpointer options
);
10 static gboolean
run_func(ObActionsData
*data
, gpointer options
);
12 void action_debug_startup(void)
14 actions_register("Debug",
21 static gpointer
setup_func(ObParseInst
*i
, xmlDocPtr doc
, xmlNodePtr node
)
26 o
= g_new0(Options
, 1);
28 if ((n
= parse_find_node("string", node
)))
29 o
->str
= parse_string(doc
, n
);
33 static void free_func(gpointer options
)
43 /* Always return FALSE because its not interactive */
44 static gboolean
run_func(ObActionsData
*data
, gpointer options
)
48 if (o
->str
) g_print("%s\n", o
->str
);
This page took 0.034547 seconds and 4 git commands to generate.