From 86f093cfb283e807b5690c2b9ae3ed1a03d22b51 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 10 Jul 2000 22:58:18 +0000 Subject: Added a missing variable initialization. (That code would have crashed badly in any circumstance.) svn path=/trunk/; revision=4066 --- widgets/shortcut-bar/ChangeLog | 4 ++++ widgets/shortcut-bar/e-group-bar.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'widgets/shortcut-bar') diff --git a/widgets/shortcut-bar/ChangeLog b/widgets/shortcut-bar/ChangeLog index 7f45553be3..2b32884bb3 100644 --- a/widgets/shortcut-bar/ChangeLog +++ b/widgets/shortcut-bar/ChangeLog @@ -1,3 +1,7 @@ +2000-07-10 Ettore Perazzoli + + * e-group-bar.c (e_group_bar_add): Set `group_bar'. + 2000-06-19 Damon Chaplin * e-icon-bar-bg-item.c: diff --git a/widgets/shortcut-bar/e-group-bar.c b/widgets/shortcut-bar/e-group-bar.c index 582380c62e..bd96898765 100644 --- a/widgets/shortcut-bar/e-group-bar.c +++ b/widgets/shortcut-bar/e-group-bar.c @@ -628,6 +628,8 @@ e_group_bar_add (GtkContainer *container, g_return_if_fail (E_IS_GROUP_BAR (container)); g_return_if_fail (widget != NULL); + group_bar = E_GROUP_BAR (container); + g_snprintf (buffer, sizeof (buffer), _("Group %i"), group_bar->children->len + 1); button = gtk_button_new_with_label (buffer); -- cgit