aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJon Trowbridge <trow@src.gnome.org>2001-03-09 07:32:49 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-03-09 07:32:49 +0800
commit37dd7eb45c2ea9a4223d8f3fd7e74a76f2d209c2 (patch)
tree44d20734f67b60f20fb1c9a360ddc2740620683f /addressbook
parentafe6fc18fc95f00efdbd3ea7f5ebd6c7fd64330d (diff)
downloadgsoc2013-evolution-37dd7eb45c2ea9a4223d8f3fd7e74a76f2d209c2.tar.gz
gsoc2013-evolution-37dd7eb45c2ea9a4223d8f3fd7e74a76f2d209c2.tar.zst
gsoc2013-evolution-37dd7eb45c2ea9a4223d8f3fd7e74a76f2d209c2.zip
Some dead code mades its way into my commit. Sorry.
svn path=/trunk/; revision=8608
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/component/e-address-widget.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/addressbook/gui/component/e-address-widget.c b/addressbook/gui/component/e-address-widget.c
index 2af83e67aa..300ca3989e 100644
--- a/addressbook/gui/component/e-address-widget.c
+++ b/addressbook/gui/component/e-address-widget.c
@@ -236,7 +236,7 @@ popup_menu_nocard (EAddressWidget *addr)
{
GnomeUIInfo uiinfo[ARBITRARY_UIINFO_LIMIT];
GtkWidget *pop;
- gint i=0, dead;
+ gint i=0;
memset (uiinfo, 0, sizeof (uiinfo));
@@ -263,10 +263,8 @@ popup_menu_nocard (EAddressWidget *addr)
uiinfo[i].type = GNOME_APP_UI_ENDOFINFO;
-
pop = gnome_popup_menu_new (uiinfo);
- for (i=0; i<dead; ++i)
- dead_item (GTK_ITEM (uiinfo[i].widget));
+
return pop;
}