aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-11 06:58:18 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-11 06:58:18 +0800
commit86f093cfb283e807b5690c2b9ae3ed1a03d22b51 (patch)
tree52791dd6378ba43269a81ec9e71218a6a32c7ef1
parent096d8845b4ff9ee056b3e5d2e41c2c26877da5af (diff)
downloadgsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.tar
gsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.tar.gz
gsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.tar.bz2
gsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.tar.lz
gsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.tar.xz
gsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.tar.zst
gsoc2013-evolution-86f093cfb283e807b5690c2b9ae3ed1a03d22b51.zip
Added a missing variable initialization. (That code would have
crashed badly in any circumstance.) svn path=/trunk/; revision=4066
-rw-r--r--widgets/shortcut-bar/ChangeLog4
-rw-r--r--widgets/shortcut-bar/e-group-bar.c2
2 files changed, 6 insertions, 0 deletions
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 <ettore@helixcode.com>
+
+ * e-group-bar.c (e_group_bar_add): Set `group_bar'.
+
2000-06-19 Damon Chaplin <damon@helixcode.com>
* 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);