summaryrefslogtreecommitdiff
path: root/tests/testcalendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcalendar.c')
-rw-r--r--tests/testcalendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcalendar.c b/tests/testcalendar.c
index 618de95d1e..0ab4409eed 100644
--- a/tests/testcalendar.c
+++ b/tests/testcalendar.c
@@ -163,7 +163,7 @@ void calendar_set_flags( CalendarData *calendar )
options=options + (1<<i);
}
if (calendar->window)
- gtk_calendar_display_options (GTK_CALENDAR (calendar->window), options);
+ gtk_calendar_set_display_options (GTK_CALENDAR (calendar->window), options);
}
void calendar_toggle_flag( GtkWidget *toggle,
@@ -234,7 +234,7 @@ void calendar_select_font( GtkWidget *button,
}
-void create_calendar()
+void create_calendar(void)
{
GtkWidget *window;
GtkWidget *vbox, *vbox2, *vbox3;