aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/shortcut-bar
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/shortcut-bar')
-rw-r--r--widgets/shortcut-bar/ChangeLog5
-rw-r--r--widgets/shortcut-bar/e-shortcut-bar.c4
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 <ettore@helixcode.com>
+
+ * e-shortcut-bar.c (e_shortcut_bar_destroy): Disconnect the model
+ before freeing the group array.
+
2000-09-26 Ettore Perazzoli <ettore@helixcode.com>
* 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);