[Xfce4-commits] <xfce4-panel:master> Don't use Gtk 2.18 API.

Nick Schermer noreply at xfce.org
Wed Mar 24 19:24:01 CET 2010


Updating branch refs/heads/master
         to 5b1143b21df6d8b1082e8ca59db604e44a44a9a7 (commit)
       from 283d8fc7c7a728ac8af66bafdf854d97143e17af (commit)

commit 5b1143b21df6d8b1082e8ca59db604e44a44a9a7
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Mar 24 19:17:50 2010 +0100

    Don't use Gtk 2.18 API.

 panel/panel-tic-tac-toe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel/panel-tic-tac-toe.c b/panel/panel-tic-tac-toe.c
index 77d8493..773d3fe 100644
--- a/panel/panel-tic-tac-toe.c
+++ b/panel/panel-tic-tac-toe.c
@@ -165,7 +165,7 @@ panel_tic_tac_toe_init (PanelTicTacToe *dialog)
       button = dialog->buttons[i] = gtk_button_new ();
       gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
       gtk_widget_set_size_request (button, 70, 70);
-      gtk_widget_set_can_focus (button, FALSE);
+      GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_DEFAULT | GTK_CAN_FOCUS);
       g_signal_connect (G_OBJECT (button), "clicked",
           G_CALLBACK (panel_tic_tac_toe_button_clicked), dialog);
 



More information about the Xfce4-commits mailing list