Added (GCallback) cast to silence warnings

This commit is contained in:
Markus Koch 2017-02-02 19:10:51 +01:00
parent a4b028b928
commit 826ee5b0e0

View File

@ -175,15 +175,15 @@ static void mainWindow_connect_signals(struct mainWindow *mainWindow)
{
g_signal_connect(mainWindow->dateStart,
"focus-in-event",
mainWindow_showPopover,
(GCallback) mainWindow_showPopover,
mainWindow);
g_signal_connect(mainWindow->dateEnd,
"focus-in-event",
mainWindow_showPopover,
(GCallback) mainWindow_showPopover,
mainWindow);
g_signal_connect(mainWindow->calendarRange,
"day-selected",
mainWindow_calendarSelected,
(GCallback) mainWindow_calendarSelected,
mainWindow);
}