Commit ca3938f5 authored by Mihai Moldovan's avatar Mihai Moldovan
Browse files

src/x2goclient-network.{c,h}: add new private parent_connect function pointer,...

src/x2goclient-network.{c,h}: add new private parent_connect function pointer, to be used for x2goclient_network_connect ().
parent 88174ed8
......@@ -130,6 +130,8 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass * const klass)
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
g_object_class_install_properties (object_class, X2GO_NET_N_PROPERTIES, net_obj_properties);
klass->parent_connect = &x2goclient_network_connect;
}
static void x2goclient_network_init (X2GoClientNetwork * const self) {
......
......@@ -59,6 +59,7 @@ struct _X2GoClientNetworkClass {
/*< private >*/
GSocketAddress* (*parse_sockspec) (X2GoClientNetwork * const self, const GString * const sockspec);
gboolean (*parent_connect) (X2GoClientNetwork * const self, GError ** const gerr);
/* We might need a lot more functions... */
gpointer padding[50];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment