diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-interface.c | 8 | ||||
-rw-r--r-- | src/datetime-interface.h | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/datetime-interface.c b/src/datetime-interface.c index d70d53a..246fcb3 100644 --- a/src/datetime-interface.c +++ b/src/datetime-interface.c @@ -67,3 +67,11 @@ datetime_interface_finalize (GObject *object) G_OBJECT_CLASS (datetime_interface_parent_class)->finalize (object); return; } + +void +datetime_interface_update (DatetimeInterface *self) +{ + g_return_if_fail(IS_DATETIME_INTERFACE(self)); + g_signal_emit(G_OBJECT(self), signals[UPDATE_TIME], 0, TRUE); + return; +} diff --git a/src/datetime-interface.h b/src/datetime-interface.h index f7ddcf1..c422b2a 100644 --- a/src/datetime-interface.h +++ b/src/datetime-interface.h @@ -26,7 +26,8 @@ struct _DatetimeInterface { GObject parent; }; -GType datetime_interface_get_type (void); +GType datetime_interface_get_type (void); +void datetime_interface_update (DatetimeInterface *self); G_END_DECLS |