diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-05-01 10:14:45 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-05-01 10:14:45 +0800 |
commit | 07afd79b9cd7a78be1bc270ccd2c3a34644cf5fb (patch) | |
tree | c76ad2c92932076db96ca9c8891354860bb03d30 /calendar | |
parent | b4b63624248223bfad9c60ecbdc30614992e1765 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/prop.c | 5 | ||||
-rw-r--r-- | calendar/prop.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 81cec3d366..8b76a9df4f 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * prop.c (prop_apply): Do not call prop_cancel, ths is now using + GnomePropertyDialog. + 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-week-view.c (sync_week): Use gnome_calendar_tag_calendar. 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); } 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); } |