[gnome-builder] libide/sourceview: explicitly queue resize when setting font



commit 262d2e631fec29334f43455e1d208fd4b4e45f1b
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 13 11:13:36 2022 -0700

    libide/sourceview: explicitly queue resize when setting font

 src/libide/sourceview/ide-source-view.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/sourceview/ide-source-view.c b/src/libide/sourceview/ide-source-view.c
index ca32cc8fa..683380fc5 100644
--- a/src/libide/sourceview/ide-source-view.c
+++ b/src/libide/sourceview/ide-source-view.c
@@ -1033,6 +1033,8 @@ ide_source_view_set_font_desc (IdeSourceView           *self,
   g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_FONT_DESC]);
   g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_FONT_SCALE]);
   g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ZOOM_LEVEL]);
+
+  gtk_widget_queue_resize (GTK_WIDGET (self));
 }
 
 double


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