[gnome-games/wip/exalm/gtk4: 18/30] preferences-page-controllers: Remove extra arguments from gtk_box_pack_start()



commit b74bf2e0e2f3d0ce6d31a28960dacfb6e5fb5361
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun Jul 29 10:58:38 2018 +0500

    preferences-page-controllers: Remove extra arguments from gtk_box_pack_start()

 src/ui/preferences-page-controllers.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/preferences-page-controllers.vala b/src/ui/preferences-page-controllers.vala
index 902d1420..5624f429 100644
--- a/src/ui/preferences-page-controllers.vala
+++ b/src/ui/preferences-page-controllers.vala
@@ -37,7 +37,7 @@ private class Games.PreferencesPageControllers: Gtk.Bin, PreferencesPage {
                while (iterator.next (out device)) {
                        i += 1;
                        var box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
-                       box.pack_start (new Gtk.Label (device.get_name ()), false, false);
+                       box.pack_start (new Gtk.Label (device.get_name ()));
                        box.margin = 6;
                        box.show_all ();
                        gamepads_list_box.add (box);
@@ -73,7 +73,7 @@ private class Games.PreferencesPageControllers: Gtk.Bin, PreferencesPage {
 
        private void build_keyboard_list () {
                var box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
-               box.pack_start (new Gtk.Label (_("Keyboard")), false, false);
+               box.pack_start (new Gtk.Label (_("Keyboard")));
                box.margin = 6;
                box.show_all ();
                keyboard_list_box.add (box);


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