telepathy-mission-control: Don' t initialize function pointers with G_TYPE_INVALID
George Kiagiadakis
gkiagia at kemper.freedesktop.org
Sat Jan 28 11:43:23 UTC 2017
Module: telepathy-mission-control
Branch: master
Commit: 20dc94875afecacf086e57f67447e9384fb85d90
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=20dc94875afecacf086e57f67447e9384fb85d90
Author: Ting-Wei Lan <lantw at src.gnome.org>
Date: Fri Feb 26 22:32:28 2016 +0800
Don't initialize function pointers with G_TYPE_INVALID
https://bugs.freedesktop.org/show_bug.cgi?id=94310
Reviewed-by: George Kiagiadakis
---
src/mcd-account-manager.c | 2 +-
src/mcd-account.c | 2 +-
src/mcd-dispatch-operation.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mcd-account-manager.c b/src/mcd-account-manager.c
index 57296cd..8584308 100644
--- a/src/mcd-account-manager.c
+++ b/src/mcd-account-manager.c
@@ -77,7 +77,7 @@ static const McdInterfaceData account_manager_interfaces[] = {
MCD_IMPLEMENT_IFACE (mc_svc_account_manager_interface_hidden_get_type,
account_manager_hidden,
MC_IFACE_ACCOUNT_MANAGER_INTERFACE_HIDDEN),
- { G_TYPE_INVALID, }
+ { NULL, }
};
G_DEFINE_TYPE_WITH_CODE (McdAccountManager, mcd_account_manager, G_TYPE_OBJECT,
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 1ed237b..e7f5007 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -98,7 +98,7 @@ static const McdInterfaceData account_interfaces[] = {
account_external_password_storage,
MC_IFACE_ACCOUNT_INTERFACE_EXTERNAL_PASSWORD_STORAGE),
- { G_TYPE_INVALID, }
+ { NULL, }
};
G_DEFINE_TYPE_WITH_CODE (McdAccount, mcd_account, G_TYPE_OBJECT,
diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index 8df17cb..0f2850f 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -58,7 +58,7 @@ static const McdInterfaceData dispatch_operation_interfaces[] = {
MCD_IMPLEMENT_IFACE (tp_svc_channel_dispatch_operation_get_type,
dispatch_operation,
TP_IFACE_CHANNEL_DISPATCH_OPERATION),
- { G_TYPE_INVALID, }
+ { NULL, }
};
G_DEFINE_TYPE_WITH_CODE (McdDispatchOperation, _mcd_dispatch_operation,
More information about the telepathy-commits
mailing list