Fix type during signal registering
This commit is contained in:
parent
0b190d47d0
commit
46b6b86f88
@ -141,12 +141,12 @@ gswe_moment_class_init(GsweMomentClass *klass)
|
|||||||
* GsweMoment::changed:
|
* GsweMoment::changed:
|
||||||
* @moment: the GsweMoment object that received the signal
|
* @moment: the GsweMoment object that received the signal
|
||||||
*
|
*
|
||||||
* The ::changed signal is emitted each time the time or coordinates are
|
* The ::changed signal is emitted each time the time, coordinates
|
||||||
* changed
|
* or the house system changes.
|
||||||
*/
|
*/
|
||||||
gswe_moment_signals[SIGNAL_CHANGED] = g_signal_new(
|
gswe_moment_signals[SIGNAL_CHANGED] = g_signal_new(
|
||||||
"changed",
|
"changed",
|
||||||
G_OBJECT_CLASS_TYPE(gobject_class),
|
G_TYPE_FROM_CLASS(klass),
|
||||||
G_SIGNAL_RUN_FIRST,
|
G_SIGNAL_RUN_FIRST,
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -139,7 +139,7 @@ gswe_timestamp_class_init(GsweTimestampClass *klass)
|
|||||||
*/
|
*/
|
||||||
gswe_timestamp_signals[SIGNAL_CHANGED] = g_signal_new(
|
gswe_timestamp_signals[SIGNAL_CHANGED] = g_signal_new(
|
||||||
"changed",
|
"changed",
|
||||||
G_OBJECT_CLASS_TYPE(gobject_class),
|
G_TYPE_FROM_CLASS(klass),
|
||||||
G_SIGNAL_RUN_FIRST,
|
G_SIGNAL_RUN_FIRST,
|
||||||
0, NULL, NULL,
|
0, NULL, NULL,
|
||||||
g_cclosure_marshal_generic, G_TYPE_NONE, 0);
|
g_cclosure_marshal_generic, G_TYPE_NONE, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user