[vinagre] Rename interface init functions



commit c055f46ebe42f928598bb9439f500186b5128cd7
Author: Jonh Wendell <jwendell gnome org>
Date:   Thu Aug 26 14:33:24 2010 -0300

    Rename interface init functions

 plugins/rdp/vinagre-rdp-plugin.c |    6 +++---
 plugins/ssh/vinagre-ssh-plugin.c |    6 +++---
 plugins/vnc/vinagre-vnc-plugin.c |    6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/plugins/rdp/vinagre-rdp-plugin.c b/plugins/rdp/vinagre-rdp-plugin.c
index eca4ff6..11396c1 100644
--- a/plugins/rdp/vinagre-rdp-plugin.c
+++ b/plugins/rdp/vinagre-rdp-plugin.c
@@ -32,14 +32,14 @@
 #include "vinagre-rdp-connection.h"
 #include "vinagre-rdp-tab.h"
 
-static void vinagre_protocol_iface_init (VinagreProtocolInterface *iface);
+static void vinagre_rdp_protocol_iface_init (VinagreProtocolInterface *iface);
 
 G_DEFINE_DYNAMIC_TYPE_EXTENDED (VinagreRdpPlugin,
 				vinagre_rdp_plugin,
 				PEAS_TYPE_EXTENSION_BASE,
 				0,
 				G_IMPLEMENT_INTERFACE_DYNAMIC (VINAGRE_TYPE_PROTOCOL,
-							       vinagre_protocol_iface_init))
+							       vinagre_rdp_protocol_iface_init))
 
 static const gchar *
 impl_get_protocol (VinagreProtocol *plugin)
@@ -126,7 +126,7 @@ impl_get_connect_widget (VinagreProtocol *plugin, VinagreConnection *conn)
 }
 
 static void
-vinagre_protocol_iface_init (VinagreProtocolInterface *iface)
+vinagre_rdp_protocol_iface_init (VinagreProtocolInterface *iface)
 {
   iface->get_protocol  = impl_get_protocol;
   iface->get_public_description  = impl_get_public_description;
diff --git a/plugins/ssh/vinagre-ssh-plugin.c b/plugins/ssh/vinagre-ssh-plugin.c
index 0afca4d..03084d7 100644
--- a/plugins/ssh/vinagre-ssh-plugin.c
+++ b/plugins/ssh/vinagre-ssh-plugin.c
@@ -37,13 +37,13 @@
 #include <avahi-common/malloc.h>
 #endif
 
-static void vinagre_protocol_iface_init (VinagreProtocolInterface *iface);
+static void vinagre_ssh_protocol_iface_init (VinagreProtocolInterface *iface);
 G_DEFINE_DYNAMIC_TYPE_EXTENDED (VinagreSshPlugin,
 				vinagre_ssh_plugin,
 				PEAS_TYPE_EXTENSION_BASE,
 				0,
 				G_IMPLEMENT_INTERFACE_DYNAMIC (VINAGRE_TYPE_PROTOCOL,
-							       vinagre_protocol_iface_init))
+							       vinagre_ssh_protocol_iface_init))
 
 static const gchar *
 impl_get_protocol (VinagreProtocol *plugin)
@@ -168,7 +168,7 @@ ssh_parse_mdns_dialog (VinagreProtocol *plugin,
 }
 
 static void
-vinagre_protocol_iface_init (VinagreProtocolInterface *iface)
+vinagre_ssh_protocol_iface_init (VinagreProtocolInterface *iface)
 {
   iface->get_protocol  = impl_get_protocol;
   iface->get_public_description  = impl_get_public_description;
diff --git a/plugins/vnc/vinagre-vnc-plugin.c b/plugins/vnc/vinagre-vnc-plugin.c
index 4cdc191..89b0ad0 100644
--- a/plugins/vnc/vinagre-vnc-plugin.c
+++ b/plugins/vnc/vinagre-vnc-plugin.c
@@ -35,13 +35,13 @@
 #include "vinagre-vnc-connection.h"
 #include "vinagre-vnc-tab.h"
 
-static void vinagre_protocol_iface_init (VinagreProtocolInterface *iface);
+static void vinagre_vnc_protocol_iface_init (VinagreProtocolInterface *iface);
 G_DEFINE_DYNAMIC_TYPE_EXTENDED (VinagreVncPlugin,
 				vinagre_vnc_plugin,
 				PEAS_TYPE_EXTENSION_BASE,
 				0,
 				G_IMPLEMENT_INTERFACE_DYNAMIC (VINAGRE_TYPE_PROTOCOL,
-							       vinagre_protocol_iface_init))
+							       vinagre_vnc_protocol_iface_init))
 
 static const GOptionEntry vinagre_vnc_args[] =
 {
@@ -400,7 +400,7 @@ vinagre_vnc_plugin_init (VinagreVncPlugin *plugin)
 }
 
 static void
-vinagre_protocol_iface_init (VinagreProtocolInterface *iface)
+vinagre_vnc_protocol_iface_init (VinagreProtocolInterface *iface)
 {
   iface->get_context_groups = impl_get_context_groups;
   iface->get_protocol  = impl_get_protocol;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]