aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index f6feb7357f..78cb922c6e 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -973,7 +973,6 @@ send_receive_cb (EvolutionShellComponent *shell_component,
_("You have not set a mail transport method"));
gtk_dialog_run((GtkDialog *)dialog);
gtk_widget_destroy(dialog);
- g_object_unref(dialog);
return;
}
@@ -999,7 +998,6 @@ request_quit (EvolutionShellComponent *shell_component,
gtk_dialog_set_default_response((GtkDialog *)dialog, GTK_RESPONSE_NO);
resp = gtk_dialog_run((GtkDialog *)dialog);
gtk_widget_destroy(dialog);
- g_object_unref(dialog);
return resp == GTK_RESPONSE_YES;
}