Commit e165249f authored by __fdsa__'s avatar __fdsa__

Build reproducibly on Debian unstable branch.

This package would not build on Debian's unstable branch because the
build treats all warnings as errors. This is caused by the use of
`g_type_class_add_private` which was deprecated and replaced by `G_ADD_PRIVATE`.

If there's more information you need from me, please let me know :) Happy to help anytime.

Reference: GNOME/glib@7e5db31d
parent b299fbf9
......@@ -651,7 +651,7 @@ iodine_editor_class_init (IodineEditorClass *req_class)
GObjectClass *object_class = G_OBJECT_CLASS (req_class);
g_type_class_add_private (req_class, sizeof (IodineEditorPrivate));
G_ADD_PRIVATE (req_class, sizeof (IodineEditorPrivate));
object_class->dispose = dispose;
......@@ -662,7 +662,7 @@ nm_iodine_plugin_class_init (NMIodinePluginClass *iodine_class)
GObjectClass *object_class = G_OBJECT_CLASS (iodine_class);
NMVpnServicePluginClass *parent_class = NM_VPN_SERVICE_PLUGIN_CLASS (iodine_class);
g_type_class_add_private (object_class, sizeof (NMIodinePluginPrivate));
G_ADD_PRIVATE (object_class, sizeof (NMIodinePluginPrivate));
/* virtual methods */
parent_class->connect = real_connect;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment