summaryrefslogtreecommitdiff
path: root/tests/testcalendar.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
commitd5f92150d4b8bffb78cd5110cbb2c28bfdf81136 (patch)
tree0d79978a95c24dcbdb2d9fd577dedf0da2795ece /tests/testcalendar.c
parentdbba41045ecb383810fb8962ee9b83998a89c37d (diff)
downloadgtk+-d5f92150d4b8bffb78cd5110cbb2c28bfdf81136.tar.gz
Fix many sparse warnings.
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;