]> Dogcows Code - chaz/openbox/blobdiff - obcl/process.c
can drag slit-apps around in the slit
[chaz/openbox] / obcl / process.c
index f79fc631361ca3067c3a91a5ef0910cc8843706d..eb7cafd2ac3b8480addb1bee8e2c55e99a9ffc83 100644 (file)
@@ -61,6 +61,16 @@ void cl_proc_add_handler_func(CLProc *proc, gchar *str,
     cl_proc_add_handler(proc, str, ph);
 }
 
+void cl_proc_add_handler_proc(CLProc *proc, gchar *str,
+                              CLProc *hproc)
+{
+    CLProcHandler *ph;
+
+    g_assert(proc != NULL);
+    ph = cl_proc_handler_new_proc(hproc);
+    cl_proc_add_handler(proc, str, ph);
+}
+
 void cl_proc_set_default(CLProc *proc, CLProcHandler *ph)
 {
     g_assert(proc != NULL);
This page took 0.022931 seconds and 4 git commands to generate.