NetworkManager r3826 - in trunk/vpn-daemons/vpnc: . properties
- From: tambeti svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3826 - in trunk/vpn-daemons/vpnc: . properties
- Date: Thu, 17 Jul 2008 14:50:24 +0000 (UTC)
Author: tambeti
Date: Thu Jul 17 14:50:24 2008
New Revision: 3826
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3826&view=rev
Log:
2008-07-17 Tambet Ingo <tambet gmail com>
* properties/nm-vpnc.c (vpnc_plugin_ui_class_init): Don't add empty
private data to the class, it produces a runtime warning.
Modified:
trunk/vpn-daemons/vpnc/ChangeLog
trunk/vpn-daemons/vpnc/properties/nm-vpnc.c
Modified: trunk/vpn-daemons/vpnc/properties/nm-vpnc.c
==============================================================================
--- trunk/vpn-daemons/vpnc/properties/nm-vpnc.c (original)
+++ trunk/vpn-daemons/vpnc/properties/nm-vpnc.c Thu Jul 17 14:50:24 2008
@@ -64,12 +64,6 @@
G_IMPLEMENT_INTERFACE (NM_TYPE_VPN_PLUGIN_UI_INTERFACE,
vpnc_plugin_ui_interface_init))
-#define VPNC_PLUGIN_UI_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VPNC_TYPE_PLUGIN_UI, VpncPluginUiPrivate))
-
-typedef struct {
-} VpncPluginUiPrivate;
-
-
/************** UI widget class **************/
static void vpnc_plugin_ui_widget_interface_init (NMVpnPluginUiWidgetInterface *iface_class);
@@ -919,8 +913,6 @@
{
GObjectClass *object_class = G_OBJECT_CLASS (req_class);
- g_type_class_add_private (req_class, sizeof (VpncPluginUiPrivate));
-
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]