[gnome-calculator/gnome-3-14: 14/19] Don't use Gtk.Widget.ensure_style()



commit c915a0d05c3e528997ee43e757f7ed044e330c29
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Oct 22 21:25:10 2014 -0500

    Don't use Gtk.Widget.ensure_style()

 src/math-display.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/math-display.vala b/src/math-display.vala
index c708ed4..aca0485 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -37,7 +37,6 @@ public class MathDisplay : Gtk.Viewport
         /* TEMP: Disabled for now as GTK+ doesn't properly render a right aligned right margin, see bug 
#482688 */
         /*source_view.set_right_margin (6);*/
         source_view.set_justification (Gtk.Justification.RIGHT);
-        source_view.ensure_style ();
         var font_desc = source_view.get_style_context ().get_font (Gtk.StateFlags.NORMAL);
         font_desc.set_size (16 * Pango.SCALE);
         source_view.override_font (font_desc);


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