From: Michael J. Baars Date: Tue, 21 Feb 2023 12:28:15 +0000 (+0100) Subject: removed duplicate function call X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~5^2~54^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=32bc7ce9878d4d9ce08ff296e5a14456c197811a;p=gtk4.git removed duplicate function call --- diff --git a/gtk/deprecated/gtkcellareabox.c b/gtk/deprecated/gtkcellareabox.c index 2808184b5a..26083a6226 100644 --- a/gtk/deprecated/gtkcellareabox.c +++ b/gtk/deprecated/gtkcellareabox.c @@ -995,10 +995,11 @@ gtk_cell_area_box_focus_changed (GtkCellArea *area, GParamSpec *pspec, GtkCellAreaBox *box) { - GtkCellAreaBoxPrivate *priv = gtk_cell_area_box_get_instance_private (box); + GtkCellAreaBoxPrivate *priv = gtk_cell_area_box_get_instance_private (box); + GtkCellRenderer *focus_cell = gtk_cell_area_get_focus_cell (area); - if (gtk_cell_area_get_focus_cell (area)) - priv->last_focus_cell = gtk_cell_area_get_focus_cell (area); + if (focus_cell) + priv->last_focus_cell = focus_cell; } /*************************************************************