]> Dogcows Code - chaz/tint2/commitdiff
*fix* stupid mistake corrected
authorAndreas Fink <andreas.fink85@googlemail.com>
Sun, 10 Jan 2010 15:12:55 +0000 (15:12 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Sun, 10 Jan 2010 15:12:55 +0000 (15:12 +0000)
src/taskbar/taskbar.c

index 5264fc32c28fa1f9a1fb2221b8d465938144b501..f63c6b14b52e372106bf7c8f908127d588e6409e 100644 (file)
 #include "panel.h"
 
 
+/* win_to_task_table holds for every Window an array of tasks. Usually the array contains only one
+   element. However for omnipresent windows (windows which are visible in every taskbar) the array
+   contains to every Task* on each panel a pointer (i.e. GPtrArray.len == server.nb_desktop)
+*/
 GHashTable* win_to_task_table = 0;
 
 guint win_hash(gconstpointer key) { return (guint)*((Window*)key); }
 gboolean win_compare(gconstpointer a, gconstpointer b) { return (*((Window*)a) == *((Window*)b)); }
-void free_ptr_array(gpointer* data) { g_ptr_array_free(data, 1); }
+void free_ptr_array(gpointer data) { g_ptr_array_free(data, 1); }
 
 void init_taskbar()
 {
This page took 0.025362 seconds and 4 git commands to generate.