1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097530
--- osmo-0.4.4.orig/src/calendar_notes.c
+++ osmo-0.4.4/src/calendar_notes.c
@@ -67,7 +67,7 @@ cal_check_notes (guint32 julian_start, g
/*------------------------------------------------------------------------------*/
void
-cal_notes_foreach (guint32 julian_start, guint32 julian_end, gboolean (*cnfunc)(), GUI *appGUI)
+cal_notes_foreach (guint32 julian_start, guint32 julian_end, gboolean (*cnfunc)(struct note *n, GUI *appGUI), GUI *appGUI)
{
GSList *node;
struct note *n;
--- osmo-0.4.4.orig/src/calendar_notes.h
+++ osmo-0.4.4/src/calendar_notes.h
@@ -53,7 +53,7 @@ enum {
gboolean cal_check_note (guint32 julian, GUI *appGUI);
gboolean cal_check_notes (guint32 julian_start, guint32 julian_end, GUI *appGUI);
-void cal_notes_foreach (guint32 julian_start, guint32 julian_end, gboolean (*cnfunc)(), GUI *appGUI);
+void cal_notes_foreach (guint32 julian_start, guint32 julian_end, gboolean (*cnfunc)(struct note *n, GUI *appGUI), GUI *appGUI);
gchar * cal_get_note (guint32 julian, GUI *appGUI);
gchar * cal_get_note_color (guint32 julian, GUI *appGUI);
void cal_replace_note_color (gchar *old_color, gchar *new_color, GUI *appGUI);
|