mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 15:48:06 +02:00
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. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3825 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
715c1bb63b
commit
6dad8ca01a
2 changed files with 5 additions and 8 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2008-07-07 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-openvpn-service-openvpn-helper.c
|
||||
|
|
|
|||
|
|
@ -63,12 +63,6 @@ G_DEFINE_TYPE_EXTENDED (OpenvpnPluginUi, openvpn_plugin_ui, G_TYPE_OBJECT, 0,
|
|||
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 @@ openvpn_plugin_ui_class_init (OpenvpnPluginUiClass *req_class)
|
|||
{
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue