aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/prop.c')
-rw-r--r--calendar/gui/prop.c5
1 files changed, 2 insertions, 3 deletions
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);
}