From ddbb5d882b691588573c60c5c41aa4cd33a25b76 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 28 Sep 2000 23:26:59 +0000 Subject: Fix a stupid crash in ::destroy that was my fault. svn path=/trunk/; revision=5624 --- widgets/shortcut-bar/ChangeLog | 5 +++++ widgets/shortcut-bar/e-shortcut-bar.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/widgets/shortcut-bar/ChangeLog b/widgets/shortcut-bar/ChangeLog index 2b45fba9f8..58b315d2a8 100644 --- a/widgets/shortcut-bar/ChangeLog +++ b/widgets/shortcut-bar/ChangeLog @@ -1,3 +1,8 @@ +2000-09-28 Ettore Perazzoli + + * e-shortcut-bar.c (e_shortcut_bar_destroy): Disconnect the model + before freeing the group array. + 2000-09-26 Ettore Perazzoli * e-shortcut-bar.c (e_shortcut_bar_on_drag_data_delete): Emit the diff --git a/widgets/shortcut-bar/e-shortcut-bar.c b/widgets/shortcut-bar/e-shortcut-bar.c index 846e9e727f..2c15d499d2 100644 --- a/widgets/shortcut-bar/e-shortcut-bar.c +++ b/widgets/shortcut-bar/e-shortcut-bar.c @@ -244,10 +244,10 @@ e_shortcut_bar_destroy (GtkObject *object) shortcut_bar = E_SHORTCUT_BAR (object); - g_array_free (shortcut_bar->groups, TRUE); - e_shortcut_bar_disconnect_model (shortcut_bar); + g_array_free (shortcut_bar->groups, TRUE); + g_free (shortcut_bar->dragged_url); g_free (shortcut_bar->dragged_name); -- cgit v1.2.3