]>
Dogcows Code - chaz/openbox/blob - openbox/actions/debug.c
f219e05971c79d3d2134dc6da6dda4990ac0b584
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 static gboolean i_input_func(guint initial_state,
16 static void i_cancel_func(gpointer options);
19 void action_debug_startup()
21 actions_register("Debug",
28 static gpointer
setup_func(ObParseInst
*i
, xmlDocPtr doc
, xmlNodePtr node
)
33 o
= g_new0(Options
, 1);
35 if ((n
= parse_find_node("string", node
)))
36 o
->str
= parse_string(doc
, n
);
40 static void free_func(gpointer options
)
50 /* Always return FALSE because its not interactive */
51 static gboolean
run_func(ObActionsData
*data
, gpointer options
)
55 if (o
->str
) g_print("%s\n", o
->str
);
This page took 0.033426 seconds and 4 git commands to generate.