From 07afd79b9cd7a78be1bc270ccd2c3a34644cf5fb Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Fri, 1 May 1998 02:14:45 +0000 Subject: crash fix for proeprty dialog -mig svn path=/trunk/; revision=203 --- calendar/gui/prop.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'calendar/gui/prop.c') diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c index 8032e919f1..9021947a75 100644 --- a/calendar/gui/prop.c +++ b/calendar/gui/prop.c @@ -62,7 +62,7 @@ prop_cancel (void) } static void -prop_ok (void) +prop_apply (void) { day_begin = GTK_ADJUSTMENT (sa)->value; day_end = GTK_ADJUSTMENT (ea)->value; @@ -74,7 +74,6 @@ prop_ok (void) gnome_config_sync (); - prop_cancel (); day_range_changed (); } @@ -145,7 +144,7 @@ properties (void) GTK_SIGNAL_FUNC (prop_cancel), NULL); gtk_signal_connect (GTK_OBJECT (prop_win), "apply", - GTK_SIGNAL_FUNC (prop_ok), NULL); + GTK_SIGNAL_FUNC (prop_apply), NULL); gtk_widget_show_all (prop_win); } -- cgit