diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-22 15:21:46 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-22 15:34:08 +0100 |
commit | 65f74e7c5723dc3c2874c27daeba1758eb165ddd (patch) | |
tree | 8fa28a0777ef74e308fa7b893789a07a71948751 | |
parent | 1eff7a5cc1068cfd58fbd3c47b1008de5285093c (diff) |
Use telepathy-glib's generated code for IRCCommand1
-rw-r--r-- | src/idle-connection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idle-connection.c b/src/idle-connection.c index c2114a4..b987ee8 100644 --- a/src/idle-connection.c +++ b/src/idle-connection.c @@ -66,7 +66,7 @@ G_DEFINE_TYPE_WITH_CODE(IdleConnection, idle_connection, TP_TYPE_BASE_CONNECTION G_IMPLEMENT_INTERFACE(TP_TYPE_SVC_CONNECTION_INTERFACE_ALIASING1, _aliasing_iface_init); G_IMPLEMENT_INTERFACE(TP_TYPE_SVC_CONNECTION_INTERFACE_CONTACT_INFO1, idle_contact_info_iface_init); G_IMPLEMENT_INTERFACE(TP_TYPE_SVC_CONNECTION_INTERFACE_RENAMING1, _renaming_iface_init); - G_IMPLEMENT_INTERFACE(IDLE_TYPE_SVC_CONNECTION_INTERFACE_IRC_COMMAND1, irc_command_iface_init); + G_IMPLEMENT_INTERFACE(TP_TYPE_SVC_CONNECTION_INTERFACE_IRC_COMMAND1, irc_command_iface_init); ); typedef struct _IdleOutputPendingMsg IdleOutputPendingMsg; @@ -1599,7 +1599,7 @@ check_irc_command (IdleConnection *self, } static void -idle_connection_irc_command_send (IdleSvcConnectionInterfaceIRCCommand1 *iface, +idle_connection_irc_command_send (TpSvcConnectionInterfaceIRCCommand1 *iface, const gchar *command, GDBusMethodInvocation *context) { @@ -1621,9 +1621,9 @@ idle_connection_irc_command_send (IdleSvcConnectionInterfaceIRCCommand1 *iface, static void irc_command_iface_init(gpointer g_iface, gpointer iface_data) { - IdleSvcConnectionInterfaceIRCCommand1Class *klass = g_iface; + TpSvcConnectionInterfaceIRCCommand1Class *klass = g_iface; -#define IMPLEMENT(x) idle_svc_connection_interface_irc_command1_implement_##x (\ +#define IMPLEMENT(x) tp_svc_connection_interface_irc_command1_implement_##x (\ klass, idle_connection_irc_command_##x) IMPLEMENT(send); #undef IMPLEMENT |