[gnome-games/wip/exalm/gtk4: 25/35] ui: Drop extra argument in gtk_image_set_from_gicon()



commit 0f4a345ac3912cb4fff7120baf4bec491c6220af
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun Jul 29 12:59:46 2018 +0500

    ui: Drop extra argument in gtk_image_set_from_gicon()

 src/ui/media-menu-button.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ui/media-menu-button.vala b/src/ui/media-menu-button.vala
index dd074a3b..57f7c52f 100644
--- a/src/ui/media-menu-button.vala
+++ b/src/ui/media-menu-button.vala
@@ -15,7 +15,7 @@ private class Games.MediaMenuButton : Gtk.MenuButton {
                        return;
                }
 
-               media_image.set_from_gicon (media_set.icon, Gtk.IconSize.BUTTON);
+               media_image.set_from_gicon (media_set.icon);
 
                show ();
        }


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