aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-01-15 03:23:10 +0800
committerHans Petter <hansp@src.gnome.org>2003-01-15 03:23:10 +0800
commit0f17a92b280904dea1153354ab86e279c6444636 (patch)
treeb3b11a13270a0c8f6f279c62fec2e8c5f1ccdab2
parent51203b37f4f70e14b9df1bf36fb1f35d031f4b95 (diff)
downloadgsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.tar
gsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.tar.gz
gsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.tar.bz2
gsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.tar.lz
gsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.tar.xz
gsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.tar.zst
gsoc2013-evolution-0f17a92b280904dea1153354ab86e279c6444636.zip
Cast signal handlers to GtkSignalFunc, avoid warnings.
2003-01-14 Hans Petter Jansson <hpj@ximian.com> * gui/e-calendar-table.c (tasks_popup_menu): Cast signal handlers to GtkSignalFunc, avoid warnings. svn path=/trunk/; revision=19458
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-calendar-table.c24
2 files changed, 17 insertions, 12 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1e8af67e76..2d111ef89c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-14 Hans Petter Jansson <hpj@ximian.com>
+
+ * gui/e-calendar-table.c (tasks_popup_menu): Cast signal handlers
+ to GtkSignalFunc, avoid warnings.
+
2003-01-14 Ettore Perazzoli <ettore@ximian.com>
* cal-util/Makefile.am (EXTRA_DIST): cal-util-marshal.list.
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 9026316c5e..500b6ef262 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -946,27 +946,27 @@ enum {
static EPopupMenu tasks_popup_menu [] = {
- E_POPUP_ITEM (N_("_Open"), e_calendar_table_on_open_task, MASK_SINGLE),
- E_POPUP_ITEM (N_("_Save as..."), e_calendar_table_on_save_as, MASK_SINGLE),
- E_POPUP_ITEM (N_("_Print..."), e_calendar_table_on_print_task, MASK_SINGLE),
+ E_POPUP_ITEM (N_("_Open"), GTK_SIGNAL_FUNC (e_calendar_table_on_open_task), MASK_SINGLE),
+ E_POPUP_ITEM (N_("_Save as..."), GTK_SIGNAL_FUNC (e_calendar_table_on_save_as), MASK_SINGLE),
+ E_POPUP_ITEM (N_("_Print..."), GTK_SIGNAL_FUNC (e_calendar_table_on_print_task), MASK_SINGLE),
E_POPUP_SEPARATOR,
- E_POPUP_ITEM (N_("C_ut"), e_calendar_table_on_cut, MASK_EDITABLE),
- E_POPUP_ITEM (N_("_Copy"), e_calendar_table_on_copy, 0),
- E_POPUP_ITEM (N_("_Paste"), e_calendar_table_on_paste, MASK_EDITABLE),
+ E_POPUP_ITEM (N_("C_ut"), GTK_SIGNAL_FUNC (e_calendar_table_on_cut), MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Copy"), GTK_SIGNAL_FUNC (e_calendar_table_on_copy), 0),
+ E_POPUP_ITEM (N_("_Paste"), GTK_SIGNAL_FUNC (e_calendar_table_on_paste), MASK_EDITABLE),
E_POPUP_SEPARATOR,
- E_POPUP_ITEM (N_("_Assign Task"), e_calendar_table_on_assign, MASK_SINGLE | MASK_EDITABLE),
- E_POPUP_ITEM (N_("_Forward as iCalendar"), e_calendar_table_on_forward, MASK_SINGLE),
- E_POPUP_ITEM (N_("_Mark as Complete"), mark_as_complete_cb, MASK_SINGLE | MASK_EDITABLE),
- E_POPUP_ITEM (N_("_Mark Selected Tasks as Complete"), mark_as_complete_cb, MASK_MULTIPLE | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Assign Task"), GTK_SIGNAL_FUNC (e_calendar_table_on_assign), MASK_SINGLE | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Forward as iCalendar"), GTK_SIGNAL_FUNC (e_calendar_table_on_forward), MASK_SINGLE),
+ E_POPUP_ITEM (N_("_Mark as Complete"), GTK_SIGNAL_FUNC (mark_as_complete_cb), MASK_SINGLE | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Mark Selected Tasks as Complete"), GTK_SIGNAL_FUNC (mark_as_complete_cb), MASK_MULTIPLE | MASK_EDITABLE),
E_POPUP_SEPARATOR,
- E_POPUP_ITEM (N_("_Delete"), delete_cb, MASK_SINGLE | MASK_EDITABLE),
- E_POPUP_ITEM (N_("_Delete Selected Tasks"), delete_cb, MASK_MULTIPLE | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Delete"), GTK_SIGNAL_FUNC (delete_cb), MASK_SINGLE | MASK_EDITABLE),
+ E_POPUP_ITEM (N_("_Delete Selected Tasks"), GTK_SIGNAL_FUNC (delete_cb), MASK_MULTIPLE | MASK_EDITABLE),
E_POPUP_TERMINATOR
};