NetworkManager r3825 - in trunk/vpn-daemons/openvpn: . properties



Author: tambeti
Date: Thu Jul 17 09:27:48 2008
New Revision: 3825
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3825&view=rev

Log:
2008-07-17  Tambet Ingo  <tambet gmail com>

	* properties/nm-openvpn.c (openvpn_plugin_ui_class_init): Don't add empty
	private data to the class, it produces a runtime warning.


Modified:
   trunk/vpn-daemons/openvpn/ChangeLog
   trunk/vpn-daemons/openvpn/properties/nm-openvpn.c

Modified: trunk/vpn-daemons/openvpn/properties/nm-openvpn.c
==============================================================================
--- trunk/vpn-daemons/openvpn/properties/nm-openvpn.c	(original)
+++ trunk/vpn-daemons/openvpn/properties/nm-openvpn.c	Thu Jul 17 09:27:48 2008
@@ -63,12 +63,6 @@
 						G_IMPLEMENT_INTERFACE (NM_TYPE_VPN_PLUGIN_UI_INTERFACE,
 											   openvpn_plugin_ui_interface_init))
 
-#define OPENVPN_PLUGIN_UI_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), OPENVPN_TYPE_PLUGIN_UI, OpenvpnPluginUiPrivate))
-
-typedef struct {
-} OpenvpnPluginUiPrivate;
-
-
 /************** UI widget class **************/
 
 static void openvpn_plugin_ui_widget_interface_init (NMVpnPluginUiWidgetInterface *iface_class);
@@ -702,8 +696,6 @@
 {
 	GObjectClass *object_class = G_OBJECT_CLASS (req_class);
 
-	g_type_class_add_private (req_class, sizeof (OpenvpnPluginUiPrivate));
-
 	object_class->get_property = get_property;
 
 	g_object_class_override_property (object_class,



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