aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-popup-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/eab-popup-control.c')
-rw-r--r--addressbook/gui/widgets/eab-popup-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-popup-control.c b/addressbook/gui/widgets/eab-popup-control.c
index 857034e840..5afddcd3af 100644
--- a/addressbook/gui/widgets/eab-popup-control.c
+++ b/addressbook/gui/widgets/eab-popup-control.c
@@ -245,7 +245,7 @@ email_menu_add_option (EMailMenu *menu, char *addr)
GtkWidget *menu_item;
g_return_if_fail (menu != NULL);
- if (addr == NULL)
+ if (!addr || !*addr)
return;
menu->options = g_list_append (menu->options, addr);