From 9bbf4be3ac56b4d1b98ef66953dfcf772ab7df61 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 3 Nov 2000 18:15:54 +0000 Subject: Removed the "time_changed" signal, since it was never being emitted in the 2000-11-02 Federico Mena Quintero * 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 --- widgets/misc/e-dateedit.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'widgets/misc/e-dateedit.h') 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); -- cgit v1.2.3