Fix type during signal registering

This commit is contained in:
Gergely Polonkai 2014-10-07 23:22:18 +02:00
parent 0b190d47d0
commit 46b6b86f88
2 changed files with 4 additions and 4 deletions

View File

@ -141,12 +141,12 @@ gswe_moment_class_init(GsweMomentClass *klass)
* GsweMoment::changed:
* @moment: the GsweMoment object that received the signal
*
* The ::changed signal is emitted each time the time or coordinates are
* changed
* The ::changed signal is emitted each time the time, coordinates
* or the house system changes.
*/
gswe_moment_signals[SIGNAL_CHANGED] = g_signal_new(
"changed",
G_OBJECT_CLASS_TYPE(gobject_class),
G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_FIRST,
0,
NULL,

View File

@ -139,7 +139,7 @@ gswe_timestamp_class_init(GsweTimestampClass *klass)
*/
gswe_timestamp_signals[SIGNAL_CHANGED] = g_signal_new(
"changed",
G_OBJECT_CLASS_TYPE(gobject_class),
G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_FIRST,
0, NULL, NULL,
g_cclosure_marshal_generic, G_TYPE_NONE, 0);