aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/prop.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-05-01 10:14:45 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-05-01 10:14:45 +0800
commit07afd79b9cd7a78be1bc270ccd2c3a34644cf5fb (patch)
treec76ad2c92932076db96ca9c8891354860bb03d30 /calendar/prop.c
parentb4b63624248223bfad9c60ecbdc30614992e1765 (diff)
downloadgsoc2013-evolution-07afd79b9cd7a78be1bc270ccd2c3a34644cf5fb.tar.gz
gsoc2013-evolution-07afd79b9cd7a78be1bc270ccd2c3a34644cf5fb.tar.zst
gsoc2013-evolution-07afd79b9cd7a78be1bc270ccd2c3a34644cf5fb.zip
crash fix for proeprty dialog -mig
svn path=/trunk/; revision=203
Diffstat (limited to 'calendar/prop.c')
-rw-r--r--calendar/prop.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/prop.c b/calendar/prop.c
index 8032e919f1..9021947a75 100644
--- a/calendar/prop.c
+++ b/calendar/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);
}