diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/component/e-address-widget.c | 6 |
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; } |