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



commit f9fb64b8fb3ba74cbe90b04c8efaefe544144ec2
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 2ec402dd..46b4c4ec 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]