aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-10-11 17:50:54 +0200
committerfiaxh <git@lightrise.org>2022-10-11 17:50:54 +0200
commit11b6e615b73e4183a06f9d456634c44ead612336 (patch)
tree0c69a48b40ce850eb4ee676769a10a62d3ab9182 /main/src/ui/conversation_content_view
parent80258a874ddfeb87b4b71f5791eab94a2465de6d (diff)
downloaddino-11b6e615b73e4183a06f9d456634c44ead612336.tar.gz
dino-11b6e615b73e4183a06f9d456634c44ead612336.zip
Don't require use of MenuButton.set_child introduced with GTK 4.6
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/reactions_widget.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/ui/conversation_content_view/reactions_widget.vala b/main/src/ui/conversation_content_view/reactions_widget.vala
index 83b3204e..6e58b05f 100644
--- a/main/src/ui/conversation_content_view/reactions_widget.vala
+++ b/main/src/ui/conversation_content_view/reactions_widget.vala
@@ -129,8 +129,7 @@ public class ReactionsWidget : Grid {
add_button = new MenuButton() { tooltip_text= _("Add reaction"), visible=true };
add_button.get_style_context().add_class("reaction-box");
- Image add_image = new Image.from_icon_name("dino-emoticon-add-symbolic") { margin_start=5, margin_end=5, visible=true };
- add_button.set_child(add_image);
+ Util.menu_button_set_icon_with_size(add_button, "dino-emoticon-add-symbolic", 14);
EmojiChooser chooser = new EmojiChooser();
chooser.emoji_picked.connect((emoji) => {