[five-or-more] Replaced deprecated set focus on click call



commit 641a5f7c95b11df3260fe663d9afb00da2480ec9
Author: Robert Roth <robert roth off gmail com>
Date:   Tue Aug 8 01:29:48 2017 +0300

    Replaced deprecated set focus on click call

 src/games-scores-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/games-scores-dialog.c b/src/games-scores-dialog.c
index 665e1bc..007fe2d 100644
--- a/src/games-scores-dialog.c
+++ b/src/games-scores-dialog.c
@@ -460,7 +460,7 @@ static void games_scores_dialog_init (GamesScoresDialog *self)
                        FALSE, FALSE, 0);       
  
   self->priv->combo = gtk_combo_box_text_new ();
-  gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (self->priv->combo), FALSE);
+  gtk_widget_set_focus_on_click (GTK_WIDGET (self->priv->combo), FALSE);
   gtk_box_pack_start (GTK_BOX (self->priv->catbar), 
                        self->priv->combo, TRUE, TRUE, 0);
   gtk_label_set_mnemonic_widget (GTK_LABEL (self->priv->label), self->priv->combo);


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