[gnome-sudoku/arnaudb/wip/gtk4: 7/25] Comment some Pango things.



commit 28de077b62ec7f770cd6b069c6f3ea72457b12d6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Apr 22 16:55:19 2020 +0200

    Comment some Pango things.

 src/sudoku-view.vala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 0070605..5f160c0 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -45,7 +45,7 @@ private class SudokuCellView : DrawingArea
             {
                 string text = "%d".printf (game.board [row, col]);
                 layout = create_pango_layout (text);
-                layout.set_font_description (style.font_desc);
+//                layout.set_font_description (style.font_desc);
                 if (game.mode == GameMode.PLAY)
                     return;
             }
@@ -53,7 +53,7 @@ private class SudokuCellView : DrawingArea
             {
                 string text = "";
                 layout = create_pango_layout (text);
-                layout.set_font_description (style.font_desc);
+//                layout.set_font_description (style.font_desc);
                 if (game.board [row, col] != 0)
                     game.remove (row, col);
                 if (game.mode == GameMode.PLAY)
@@ -63,7 +63,7 @@ private class SudokuCellView : DrawingArea
             {
                 string text = "%d".printf (value);
                 layout = create_pango_layout (text);
-                layout.set_font_description (style.font_desc);
+//                layout.set_font_description (style.font_desc);
                 return;
             }
             assert (layout != null);
@@ -117,7 +117,7 @@ private class SudokuCellView : DrawingArea
         init_mouse ();
         init_keyboard ();
 
-        style.font_desc.set_size (Pango.SCALE * 13);
+//        style.font_desc.set_size (Pango.SCALE * 13);
         value = game.board [row, col];
 
         // background_color is set in the SudokuView, as it manages the color of the cells


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