summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/widget/button.vala2
-rw-r--r--core/src/widget/icon.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/widget/button.vala b/core/src/widget/button.vala
index 036bc8e..4d1f467 100644
--- a/core/src/widget/button.vala
+++ b/core/src/widget/button.vala
@@ -33,7 +33,7 @@ public class Button : Gtk.Button {
}
public enum MouseButton {
- PRIMARY = 0,
+ PRIMARY,
MIDDLE,
SECONDARY,
BACK,
diff --git a/core/src/widget/icon.vala b/core/src/widget/icon.vala
index ccd20f3..4f1c7f1 100644
--- a/core/src/widget/icon.vala
+++ b/core/src/widget/icon.vala
@@ -81,7 +81,7 @@ public class Icon : Gtk.Image {
type = IconType.GICON;
display_icon.begin();
});
-
+
size_allocate.connect(() => {
size = get_style_context()
.get_property("font-size", Gtk.StateFlags.NORMAL).get_double();