summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-08-12 11:51:14 -0400
committerDavid Zeuthen <davidz@redhat.com>2009-08-12 11:51:14 -0400
commitf207e4f204a303269e94417ec7247570dd527786 (patch)
treed031d78afea0b2623fb589d55151734ef07ef34e
parentde9453f4c178fe76a4a36edb752e2ed75a329032 (diff)
downloadpolkit-f207e4f204a303269e94417ec7247570dd527786.tar.gz
Pass the right struct offset for the ::changed class signal handler
-rw-r--r--src/polkitbackend/polkitbackendauthority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendauthority.c b/src/polkitbackend/polkitbackendauthority.c
index 63caf0f..28731af 100644
--- a/src/polkitbackend/polkitbackendauthority.c
+++ b/src/polkitbackend/polkitbackendauthority.c
@@ -71,7 +71,7 @@ polkit_backend_authority_class_init (PolkitBackendAuthorityClass *klass)
signals[CHANGED_SIGNAL] = g_signal_new ("changed",
POLKIT_BACKEND_TYPE_AUTHORITY,
G_SIGNAL_RUN_LAST,
- 0, /* class offset */
+ G_STRUCT_OFFSET (PolkitBackendAuthorityClass, changed),
NULL, /* accumulator */
NULL, /* accumulator data */
g_cclosure_marshal_VOID__VOID,