From e9ac7d48112f36db332905fcc3692c44641f4a66 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Sun, 26 Jun 2011 00:37:12 +0100 Subject: Gtk cleanup: GTK_WIDGET_HAS_FOCUS (bzr r10350.1.6) --- src/ege-adjustment-action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ege-adjustment-action.cpp b/src/ege-adjustment-action.cpp index 9f8356495..45a44ae0c 100644 --- a/src/ege-adjustment-action.cpp +++ b/src/ege-adjustment-action.cpp @@ -779,7 +779,7 @@ static GtkWidget* create_menu_item( GtkAction* action ) void value_changed_cb( GtkSpinButton* spin, EgeAdjustmentAction* act ) { - if ( GTK_WIDGET_HAS_FOCUS( GTK_WIDGET(spin) ) ) { + if ( gtk_widget_has_focus( GTK_WIDGET(spin) ) ) { ege_adjustment_action_defocus( act ); } } -- cgit v1.2.3