Maemo: Do not unref the dialog.
This commit is contained in:
@@ -63,7 +63,7 @@ static void
|
|||||||
dialog_response (GtkDialog *dialog, gint response_id, StrongswanStatus *plugin)
|
dialog_response (GtkDialog *dialog, gint response_id, StrongswanStatus *plugin)
|
||||||
{
|
{
|
||||||
StrongswanStatusPrivate *priv = plugin->priv;
|
StrongswanStatusPrivate *priv = plugin->priv;
|
||||||
g_object_unref (priv->dialog);
|
gtk_widget_destroy (priv->dialog);
|
||||||
priv->dialog = NULL;
|
priv->dialog = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,10 +225,6 @@ strongswan_status_dispose (GObject *object)
|
|||||||
{
|
{
|
||||||
priv->conns = (g_object_unref (priv->conns), NULL);
|
priv->conns = (g_object_unref (priv->conns), NULL);
|
||||||
}
|
}
|
||||||
if (priv->dialog)
|
|
||||||
{
|
|
||||||
priv->dialog = (g_object_unref (priv->dialog), NULL);
|
|
||||||
}
|
|
||||||
if (priv->icons.status_open)
|
if (priv->icons.status_open)
|
||||||
{
|
{
|
||||||
g_object_unref (priv->icons.status_open);
|
g_object_unref (priv->icons.status_open);
|
||||||
|
|||||||
Reference in New Issue
Block a user