[gnome-control-center] printers: Fix printer delete signal passing an extra argument.



commit 3ed16310a1adcad06fa41d0823183fc7a36b5a40
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Jun 28 16:25:29 2018 +1200

    printers: Fix printer delete signal passing an extra argument.
    
    The extra argument doesn't seem to be used, but is confusing.

 panels/printers/pp-printer-entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/printers/pp-printer-entry.c b/panels/printers/pp-printer-entry.c
index c4360aa92..47bdb7010 100644
--- a/panels/printers/pp-printer-entry.c
+++ b/panels/printers/pp-printer-entry.c
@@ -575,7 +575,7 @@ static void
 remove_printer (GtkButton      *button,
                 PpPrinterEntry *self)
 {
-  g_signal_emit_by_name (self, "printer-delete", self->printer_name);
+  g_signal_emit_by_name (self, "printer-delete");
 }
 
 static void


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