From f207e4f204a303269e94417ec7247570dd527786 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Wed, 12 Aug 2009 11:51:14 -0400 Subject: [PATCH] Pass the right struct offset for the ::changed class signal handler --- src/polkitbackend/polkitbackendauthority.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.7.4