Browse Source

Don't crash when the quit action button is pressed (bug #5118).

(Old svn revision: 29672)
upstream/xfce4-panel-4.10.1
Nick Schermer 13 years ago
parent
commit
e5a376c80e
  1. 1
      NEWS
  2. 3
      plugins/actions/actions.c

1
NEWS

@ -2,6 +2,7 @@
=====
- Migrate launcher category icons from 4.4 panels (bug #5067).
- Fix compilation with -Wl,--as-needed (bug #5103).
- Don't crash when the quit action button is pressed (bug #5118).
4.6.0

3
plugins/actions/actions.c

@ -229,8 +229,7 @@ actions_free_data (XfcePanelPlugin *plugin, Action *action)
static void
actions_do_quit (GtkWidget *b, XfcePanelPlugin *plugin)
{
/* this only works with internal plugins */
raise (SIGUSR2);
g_spawn_command_line_async ("xfce4-panel -q", NULL);
}
static void

Loading…
Cancel
Save