[Xfce4-commits] [xfce/xfce4-panel] 67/73: Fixed tic-tac-toe

noreply at xfce.org noreply at xfce.org
Sun Feb 26 16:34:48 CET 2017


This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.

commit f23eea409bd52fbd7117d2da925a3499c4cfa76d
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Sun Oct 30 09:35:51 2016 +0000

    Fixed tic-tac-toe
---
 panel/panel-tic-tac-toe.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/panel/panel-tic-tac-toe.c b/panel/panel-tic-tac-toe.c
index 704b8b2..f552c1b 100644
--- a/panel/panel-tic-tac-toe.c
+++ b/panel/panel-tic-tac-toe.c
@@ -176,8 +176,7 @@ panel_tic_tac_toe_init (PanelTicTacToe *dialog)
       col = (i % 3) * 2;
 
       gtk_grid_attach (GTK_GRID (grid), button,
-                       col, col + 1,
-                       row, row + 1);
+                       col, row, 1, 1);
     }
 
   /* set label attributes */
@@ -564,7 +563,7 @@ panel_tic_tac_toe_highlight_winner (PanelTicTacToe *dialog,
   else
     {
       /* grey out all the cells */
-      attr = pango_attr_foreground_new (0xcccc, 0xcccc, 0xcccc);
+      attr = pango_attr_foreground_new (0x4444, 0x4444, 0x4444);
       winner |= cells_to_hex2 (PLAYER_O, PLAYER_O, PLAYER_O,
                                PLAYER_O, PLAYER_O, PLAYER_O,
                                PLAYER_O, PLAYER_O, PLAYER_O);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list