Commit 60ecfd8e authored by Manish Vachharajani's avatar Manish Vachharajani

Fixed sigchld_handler I think. Panel would crash when removing applets.

Someone who knows the panel should check this change and remove the offending
code that is #if 0'ed out
parent 39195f2b
Sun Jul 12 21:31:39 EDT 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
* main.c: fixed the sigchld handler I think. Someone who knows
the panel should check this out.
Sun Jul 12 02:53:55 1998 George Lebl <jirka@5z.com>
* panel-widget.c: got rid of the ugly inhibit allocates
......
Sun Jul 12 21:31:39 EDT 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
* main.c: fixed the sigchld handler I think. Someone who knows
the panel should check this out.
Sun Jul 12 02:53:55 1998 George Lebl <jirka@5z.com>
* panel-widget.c: got rid of the ugly inhibit allocates
......
......@@ -1830,6 +1830,7 @@ sigchld_handler(int type)
char *s;
int i;
if(!info) return;
#if 0 /* Check me, is this ok, why were we iterating here? */
s = g_strdup(info->id_str);
for(i=0,info=(AppletInfo *)applets->data;
i<applet_count;
......@@ -1839,7 +1840,8 @@ sigchld_handler(int type)
panel_clean_applet(info->applet_id);
}
g_free(s);
#endif
panel_clean_applet(info->applet_id);
exec_queue_done(child->applet_id);
g_free(child);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment