mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 22:30:11 +01:00
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. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3826 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
6dad8ca01a
commit
979e8a8fbf
2 changed files with 5 additions and 8 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2008-07-07 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-vpnc-service-vpnc-helper.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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue