diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-09-20 18:45:19 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-10-14 17:36:18 +0200 |
commit | 9889c9d84ca5b2f9601b1638a5ad9b835f09b42d (patch) | |
tree | 8bfa327cb28d813d0bfe59d07252601e4f26333c | |
parent | ab02058d7830e1868823b266afae32d03b0a05ea (diff) | |
download | strongswan-9889c9d84ca5b2f9601b1638a5ad9b835f09b42d.tar.bz2 strongswan-9889c9d84ca5b2f9601b1638a5ad9b835f09b42d.tar.xz |
Maemo: Do not unref the dialog.
-rw-r--r-- | src/frontends/maemo/src/strongswan-status.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/frontends/maemo/src/strongswan-status.c b/src/frontends/maemo/src/strongswan-status.c index 48a8c7492..24f24426e 100644 --- a/src/frontends/maemo/src/strongswan-status.c +++ b/src/frontends/maemo/src/strongswan-status.c @@ -63,7 +63,7 @@ static void dialog_response (GtkDialog *dialog, gint response_id, StrongswanStatus *plugin) { StrongswanStatusPrivate *priv = plugin->priv; - g_object_unref (priv->dialog); + gtk_widget_destroy (priv->dialog); priv->dialog = NULL; } @@ -225,10 +225,6 @@ strongswan_status_dispose (GObject *object) { priv->conns = (g_object_unref (priv->conns), NULL); } - if (priv->dialog) - { - priv->dialog = (g_object_unref (priv->dialog), NULL); - } if (priv->icons.status_open) { g_object_unref (priv->icons.status_open); |