diff options
author | ZenWalker <[email protected]> | 2018-11-25 00:45:19 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-11-24 23:45:19 +0000 |
commit | 3693bc66677c1d6a81363d4434d1bd0ecee307ed (patch) | |
tree | 35f72145a3a5b0e656ce7c1caf681ef4666dcf84 /src | |
parent | 1546b670667dc415e46adf2b0aacfa93af5e78a0 (diff) | |
download | mate-calc-3693bc66677c1d6a81363d4434d1bd0ecee307ed.tar.bz2 mate-calc-3693bc66677c1d6a81363d4434d1bd0ecee307ed.tar.xz |
math-display.c: avoid deprecated 'gtk_widget_ensure_style' (#66)
Diffstat (limited to 'src')
-rw-r--r-- | src/math-display.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/math-display.c b/src/math-display.c index 69c2ee2..c6e5ce2 100644 --- a/src/math-display.c +++ b/src/math-display.c @@ -342,7 +342,6 @@ create_gui(MathDisplay *display) /* TEMP: Disabled for now as GTK+ doesn't properly render a right aligned right margin, see bug #482688 */ /*gtk_text_view_set_right_margin(GTK_TEXT_VIEW(display->priv->text_view), 6);*/ gtk_text_view_set_justification(GTK_TEXT_VIEW(display->priv->text_view), GTK_JUSTIFY_RIGHT); - gtk_widget_ensure_style(display->priv->text_view); font_desc = pango_font_description_copy(gtk_widget_get_style(display->priv->text_view)->font_desc); pango_font_description_set_size(font_desc, 16 * PANGO_SCALE); gtk_widget_modify_font(display->priv->text_view, font_desc); |