diff --git a/vpn-daemons/vpnc/ChangeLog b/vpn-daemons/vpnc/ChangeLog index 146f46f4e9..e7d20ee283 100644 --- a/vpn-daemons/vpnc/ChangeLog +++ b/vpn-daemons/vpnc/ChangeLog @@ -1,3 +1,8 @@ +2008-07-17 Tambet Ingo + + * properties/nm-vpnc.c (vpnc_plugin_ui_class_init): Don't add empty + private data to the class, it produces a runtime warning. + 2008-07-07 Dan Williams * src/nm-vpnc-service-vpnc-helper.c diff --git a/vpn-daemons/vpnc/properties/nm-vpnc.c b/vpn-daemons/vpnc/properties/nm-vpnc.c index 0ada45ba62..7c2c02b182 100644 --- a/vpn-daemons/vpnc/properties/nm-vpnc.c +++ b/vpn-daemons/vpnc/properties/nm-vpnc.c @@ -64,12 +64,6 @@ G_DEFINE_TYPE_EXTENDED (VpncPluginUi, vpnc_plugin_ui, G_TYPE_OBJECT, 0, 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 @@ vpnc_plugin_ui_class_init (VpncPluginUiClass *req_class) { 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,