summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-09-08 17:10:07 +0200
committerJavier Jardón <jjardon@gnome.org>2010-09-08 17:10:37 +0200
commitca3348f8f1a0021317f43dfb92a6179038ad50dd (patch)
treea9c627365a4b12b5310c4097d32c14f9310c61aa /examples
parent3963d5aa768b4e9e9f2c02888c24e9b2d850a2f9 (diff)
downloadgtk+-ca3348f8f1a0021317f43dfb92a6179038ad50dd.tar.gz
Do not use deprecated API in docs and examples
gtk_calendar_display_options() was deprecated and removed. Use gtk_calendar_set_display_options() instead
Diffstat (limited to 'examples')
-rw-r--r--examples/calendar/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/calendar/calendar.c b/examples/calendar/calendar.c
index f6808aa147..b884b25722 100644
--- a/examples/calendar/calendar.c
+++ b/examples/calendar/calendar.c
@@ -160,7 +160,7 @@ static 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);
}
static void calendar_toggle_flag( GtkWidget *toggle,