diff options
author | Ted Gould <ted@gould.cx> | 2010-08-30 14:58:40 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-30 14:58:40 -0500 |
commit | 48830abd993c31546bad23cc30684a537c31332c (patch) | |
tree | 3bfd427d711f2948eed78151f3b76ea6b0e71eba /src/datetime-interface.c | |
parent | 9a852c72209e4c5c5292553a3abbc61911a27027 (diff) | |
download | ayatana-indicator-datetime-48830abd993c31546bad23cc30684a537c31332c.tar.gz ayatana-indicator-datetime-48830abd993c31546bad23cc30684a537c31332c.tar.bz2 ayatana-indicator-datetime-48830abd993c31546bad23cc30684a537c31332c.zip |
Adding a way to emit the signal
Diffstat (limited to 'src/datetime-interface.c')
-rw-r--r-- | src/datetime-interface.c | 8 |
1 files changed, 8 insertions, 0 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; +} |