Updating branch refs/heads/master to 0e53ec5c0e6202a3eebfe8f986cdff845c6e37e3 (commit) from 4f2ee4f1786e90dfdac1ace99819f52b421bfc3f (commit)
commit 0e53ec5c0e6202a3eebfe8f986cdff845c6e37e3 Author: Enrico Tröger <enr...@xfce.org> Date: Sun Oct 23 23:34:33 2011 +0200 Just unref the toolbar widget instead of explicitly destroying it. This fixes crashing with GTK 2.24.7 on exit though not exactly sure why it happens. But unref'ing helps and the toolbar widget is destroyed together with the main window afterwards. src/window.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/window.c b/src/window.c index bede8f4..9bfa14e 100644 --- a/src/window.c +++ b/src/window.c @@ -145,7 +145,7 @@ static void gigolo_window_destroy(GigoloWindow *window) gtk_widget_destroy(priv->systray_icon_popup_menu); gtk_widget_destroy(priv->swin_treeview); gtk_widget_destroy(priv->swin_iconview); - gtk_widget_destroy(priv->toolbar); + g_object_unref(priv->toolbar); g_object_unref(priv->action_group); g_object_unref(priv->systray_icon); g_object_unref(priv->systray_icon_popup_menu); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits