[gnome-builder] GbSourceView: invalidate text layouts when font changes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] GbSourceView: invalidate text layouts when font changes
- Date: Sat, 13 Dec 2014 04:02:51 +0000 (UTC)
commit 13cefad9184cb83ce17af81f6cbaa7e7d03d2a58
Author: Christian Hergert <christian hergert me>
Date: Fri Dec 12 20:02:43 2014 -0800
GbSourceView: invalidate text layouts when font changes
src/editor/gb-source-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-source-view.c b/src/editor/gb-source-view.c
index d2a6703..c6c2ff5 100644
--- a/src/editor/gb-source-view.c
+++ b/src/editor/gb-source-view.c
@@ -1725,6 +1725,8 @@ gb_source_view_set_font_name (GbSourceView *view,
}
else
gtk_css_provider_load_from_data (view->priv->css_provider, "", -1, NULL);
+
+ gtk_widget_queue_resize (GTK_WIDGET (view));
}
GbSourceAutoIndenter *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]