summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwcrontab.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/tools/gwcrontab.c')
-rw-r--r--source4/gtk/tools/gwcrontab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c
index fbf9c5ea95..b41c0ffdcb 100644
--- a/source4/gtk/tools/gwcrontab.c
+++ b/source4/gtk/tools/gwcrontab.c
@@ -420,9 +420,9 @@ static GtkWidget*create_new_job_dialog (void)
gtk_table_attach (GTK_TABLE (table1), cal_day, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (GTK_FILL), 0, 0);
- gtk_calendar_display_options (GTK_CALENDAR (cal_day),
- GTK_CALENDAR_SHOW_HEADING
- | GTK_CALENDAR_SHOW_DAY_NAMES);
+ gtk_calendar_set_display_options (GTK_CALENDAR (cal_day),
+ GTK_CALENDAR_SHOW_HEADING
+ | GTK_CALENDAR_SHOW_DAY_NAMES);
label3 = gtk_label_new ("Date");
gtk_table_attach (GTK_TABLE (table1), label3, 0, 1, 0, 1,