From 47021d0c69fa102f86bd900b2a048d9d979c0448 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Dec 2004 03:28:26 +0000 Subject: r4302: fixed all of the annoying gtk warnings. The code all seems to still work, but given my lack of gtk experience, there are no guarantees. (This used to be commit 11277b38a473022eb59f896d5e23aa1e56786008) --- source4/gtk/tools/gwcrontab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/gtk/tools/gwcrontab.c') 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, -- cgit