summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2020-11-24 12:24:38 +1300
committerRobert Ancell <robert.ancell@canonical.com>2020-11-24 12:24:38 +1300
commit2c4643663680edc398d7d1d4c2da962b9255bad6 (patch)
tree9e6551dd5fd9d9c5baa9d53d4c59b0de927921d1
parent5e2e4a55af8d15d4b710d8054201bff148d7cf02 (diff)
downloadgnome-control-center-2c4643663680edc398d7d1d4c2da962b9255bad6.tar.gz
printers: Remove redundant variable set to NULL
-rw-r--r--panels/printers/pp-new-printer-dialog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/panels/printers/pp-new-printer-dialog.c b/panels/printers/pp-new-printer-dialog.c
index de410a868..fc1a5a16d 100644
--- a/panels/printers/pp-new-printer-dialog.c
+++ b/panels/printers/pp-new-printer-dialog.c
@@ -1908,7 +1908,6 @@ ppd_selection_cb (GtkDialog *_dialog,
ppd_name = pp_ppd_selection_dialog_get_ppd_name (self->ppd_selection_dialog);
ppd_display_name = pp_ppd_selection_dialog_get_ppd_display_name (self->ppd_selection_dialog);
g_clear_object (&self->ppd_selection_dialog);
- self->ppd_selection_dialog = NULL;
if (ppd_name)
{