X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.c;h=6c6a4625b66fc6efb17386dcda670eb98c0a4ce5;hb=ea2b169f10d49d8f304c9b972022f9dd5b5b6df7;hp=0cf58187fc006507f33d775ad078d2d4ede68ff0;hpb=bb00ef3c982009c990cccf86af7fd9b904ba20a1;p=chaz%2Ftint2 diff --git a/src/panel.c b/src/panel.c index 0cf5818..6c6a462 100644 --- a/src/panel.c +++ b/src/panel.c @@ -59,8 +59,6 @@ int panel_autohide_hide_timeout; int panel_autohide_height; int panel_strut_policy; -Task *task_active; -Task *task_drag; int max_tick_urgent; // panel's initial config @@ -83,8 +81,6 @@ void default_panel() panel1 = 0; nb_panel = 0; default_icon = NULL; - task_active = 0; - task_drag = 0; task_dragged = 0; panel_horizontal = 1; panel_position = CENTER; @@ -125,7 +121,8 @@ void cleanup_panel() } if (panel1) free(panel1); - if (backgrounds) g_array_free(backgrounds, 1); + if (backgrounds) + g_array_free(backgrounds, 1); if (panel_config.g_task.font_desc) pango_font_description_free(panel_config.g_task.font_desc); }