[gnome-mines/arnaudb/wip/gtk4: 12/39] Adapt to Button API.




commit acf63585b7b0097d9005ca29760ebd3ac6455bc9
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Apr 13 23:01:47 2020 +0200

    Adapt to Button API.

 src/theme-selector-dialog.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/theme-selector-dialog.vala b/src/theme-selector-dialog.vala
index 15d5763..4e8d4e7 100644
--- a/src/theme-selector-dialog.vala
+++ b/src/theme-selector-dialog.vala
@@ -107,11 +107,11 @@ public class ThemeSelectorDialog : Gtk.Dialog
         Object (use_header_bar: 1, title:  _("Select Theme"),
                 modal: true, transient_for: parent, resizable: false, border_width: 12);
 
-        previous = new Gtk.Button.from_icon_name ("go-previous-symbolic", Gtk.IconSize.BUTTON);
+        previous = new Gtk.Button.from_icon_name ("go-previous-symbolic");
         previous.valign = Gtk.Align.CENTER;
         previous.halign = Gtk.Align.START;
 
-        next = new Gtk.Button.from_icon_name ("go-next-symbolic", Gtk.IconSize.BUTTON);
+        next = new Gtk.Button.from_icon_name ("go-next-symbolic");
         next.valign = Gtk.Align.CENTER;
         next.halign = Gtk.Align.END;
 


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