[gnome-control-center] gtk_widget_show over gtk_widget_show_all.



commit b19325167d5e0d303563f061c6e6725eb7d2e17c
Author: Brandon Nielsen <nielsenb jetfuse net>
Date:   Thu Jul 15 22:04:00 2021 -0500

    gtk_widget_show over gtk_widget_show_all.

 panels/printers/cc-printers-panel.c     | 2 +-
 panels/printers/pp-details-dialog.c     | 2 +-
 panels/printers/pp-new-printer-dialog.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index 558773335..939c7e521 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -973,7 +973,7 @@ printer_add_cb (CcPrintersPanel *self)
   gtk_window_set_transient_for (GTK_WINDOW (self->pp_new_printer_dialog),
                                             GTK_WINDOW (toplevel));
 
-  gtk_widget_show_all (self->pp_new_printer_dialog);
+  gtk_widget_show (self->pp_new_printer_dialog);
 }
 
 static void
diff --git a/panels/printers/pp-details-dialog.c b/panels/printers/pp-details-dialog.c
index 100ed9c29..3d198fa48 100644
--- a/panels/printers/pp-details-dialog.c
+++ b/panels/printers/pp-details-dialog.c
@@ -219,7 +219,7 @@ select_ppd_in_dialog (PpDetailsDialog *self)
         gtk_window_set_transient_for (GTK_WINDOW (self->pp_ppd_selection_dialog),
                                       GTK_WINDOW (self));
 
-        gtk_widget_show_all (self->pp_ppd_selection_dialog);
+        gtk_widget_show (self->pp_ppd_selection_dialog);
     }
 }
 
diff --git a/panels/printers/pp-new-printer-dialog.c b/panels/printers/pp-new-printer-dialog.c
index c4247b102..ae6959ee4 100644
--- a/panels/printers/pp-new-printer-dialog.c
+++ b/panels/printers/pp-new-printer-dialog.c
@@ -1754,8 +1754,8 @@ new_printer_dialog_response_cb (PpNewPrinterDialog *self,
               gtk_window_set_transient_for (GTK_WINDOW (self->ppd_selection_dialog),
                                             GTK_WINDOW (self));
 
-              //New device will be set at return from ppd selection
-              gtk_widget_show_all (self->ppd_selection_dialog);
+              /* New device will be set at return from ppd selection */
+              gtk_widget_show (self->ppd_selection_dialog);
             }
           else
             {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]