diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-11-04 02:15:54 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-11-04 02:15:54 +0800 |
commit | 9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61 (patch) | |
tree | 0fef54b5c8f47e02c8983a5bc2efe95551d8489f /widgets/misc/e-dateedit.h | |
parent | 8ded99860006a3ea6ecf5ac50c2ae427d92b08ca (diff) | |
download | gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.tar gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.tar.gz gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.tar.bz2 gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.tar.lz gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.tar.xz gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.tar.zst gsoc2013-evolution-9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61.zip |
Removed the "time_changed" signal, since it was never being emitted in the
2000-11-02 Federico Mena Quintero <federico@helixcode.com>
* e-dateedit.h (EDateEditClass): Removed the "time_changed"
signal, since it was never being emitted in the first place. Time
values *are* both date and time together anyways, so whenever one
changes we should notify about the whole date/time value being
changed.
Renamed the remaining "date_changed" signal to just "changed".
* e-dateedit.c (e_date_edit_class_init): Do not create the
"time_changed" signal; rename the other one to "changed".
(set_time): Moved the core functionality from
e_date_edit_set_time() to here. This function just sets the
widgets' values without emitting any signals.
(e_date_edit_set_time): Emit the "changed" signal unconditionally.
This is to be consistent with the rest of the GTK+ widgets, and it
actually makes writing client code easier.
(e_date_edit_new): Use set_time().
(on_date_popup_now_button_clicked): Do not emit the signal here.
(on_date_popup_none_button_clicked): Likewise.
(e_date_edit_set_time_of_day): Emit the signal, since we do not
call e_date_edit_set_time().
svn path=/trunk/; revision=6367
Diffstat (limited to 'widgets/misc/e-dateedit.h')
-rw-r--r-- | widgets/misc/e-dateedit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h index b616e7b581..903c64e732 100644 --- a/widgets/misc/e-dateedit.h +++ b/widgets/misc/e-dateedit.h @@ -60,8 +60,7 @@ struct _EDateEdit { struct _EDateEditClass { GtkHBoxClass parent_class; - void (*date_changed) (EDateEdit *dedit); - void (*time_changed) (EDateEdit *dedit); + void (* changed) (EDateEdit *dedit); }; guint e_date_edit_get_type (void); |