aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-25 07:14:45 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-25 07:14:45 +0800
commit41aeca42365bab14c4475705e63683c2fcaf1f9e (patch)
treeeb5c159bedbd18c4cd5e656860508540f1141dac /mail/folder-browser.c
parent8cf870c27718e7fa8f3cbe57c839e7ae90635c0d (diff)
downloadgsoc2013-evolution-41aeca42365bab14c4475705e63683c2fcaf1f9e.tar.gz
gsoc2013-evolution-41aeca42365bab14c4475705e63683c2fcaf1f9e.tar.zst
gsoc2013-evolution-41aeca42365bab14c4475705e63683c2fcaf1f9e.zip
Update to use E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback gets
2002-04-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (label_menu): Update to use E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback gets called without per-item closure rather than being called with NULL and causing a segfault. svn path=/trunk/; revision=16578
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index dede81bfc5..539c18dd49 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1593,13 +1593,13 @@ static EPopupMenu filter_menu[] = {
};
static EPopupMenu label_menu[] = {
- E_POPUP_ITEM (N_("None"), GTK_SIGNAL_FUNC (colourise_msg), 0),
+ E_POPUP_PIXMAP_WIDGET_ITEM_CC (N_("None"), NULL, GTK_SIGNAL_FUNC (colourise_msg), NULL, 0),
E_POPUP_SEPARATOR,
- E_POPUP_ITEM (NULL, GTK_SIGNAL_FUNC (colourise_msg), 0),
- E_POPUP_ITEM (NULL, GTK_SIGNAL_FUNC (colourise_msg), 0),
- E_POPUP_ITEM (NULL, GTK_SIGNAL_FUNC (colourise_msg), 0),
- E_POPUP_ITEM (NULL, GTK_SIGNAL_FUNC (colourise_msg), 0),
- E_POPUP_ITEM (NULL, GTK_SIGNAL_FUNC (colourise_msg), 0),
+ E_POPUP_PIXMAP_WIDGET_ITEM_CC (NULL, NULL, GTK_SIGNAL_FUNC (colourise_msg), NULL, 0),
+ E_POPUP_PIXMAP_WIDGET_ITEM_CC (NULL, NULL, GTK_SIGNAL_FUNC (colourise_msg), NULL, 0),
+ E_POPUP_PIXMAP_WIDGET_ITEM_CC (NULL, NULL, GTK_SIGNAL_FUNC (colourise_msg), NULL, 0),
+ E_POPUP_PIXMAP_WIDGET_ITEM_CC (NULL, NULL, GTK_SIGNAL_FUNC (colourise_msg), NULL, 0),
+ E_POPUP_PIXMAP_WIDGET_ITEM_CC (NULL, NULL, GTK_SIGNAL_FUNC (colourise_msg), NULL, 0),
E_POPUP_TERMINATOR
};