summaryrefslogtreecommitdiffstats
path: root/src/ege-adjustment-action.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-25 23:01:48 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-25 23:01:48 +0000
commit2307efdeb1fac805166b4f0be1c6c72e0ddd7b40 (patch)
tree3b73b8f2506b87ec530de37ba8a9d696322d5991 /src/ege-adjustment-action.cpp
parentSwitch to GObject (diff)
downloadinkscape-2307efdeb1fac805166b4f0be1c6c72e0ddd7b40.tar.gz
inkscape-2307efdeb1fac805166b4f0be1c6c72e0ddd7b40.zip
Gtk cleanup: GTK_WIDGET_IS_SENSITIVE
(bzr r10350.1.4)
Diffstat (limited to 'src/ege-adjustment-action.cpp')
-rw-r--r--src/ege-adjustment-action.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ege-adjustment-action.cpp b/src/ege-adjustment-action.cpp
index 6b0ffd1ab..9f8356495 100644
--- a/src/ege-adjustment-action.cpp
+++ b/src/ege-adjustment-action.cpp
@@ -987,7 +987,7 @@ static gboolean process_tab( GtkWidget* widget, int direction )
GList* subChildren = gtk_container_get_children( GTK_CONTAINER(child) );
if ( subChildren ) {
GList* last = g_list_last(subChildren);
- if ( last && GTK_IS_SPIN_BUTTON(last->data) && GTK_WIDGET_IS_SENSITIVE( GTK_WIDGET(last->data) ) ) {
+ if ( last && GTK_IS_SPIN_BUTTON(last->data) && gtk_widget_is_sensitive( GTK_WIDGET(last->data) ) ) {
gtk_widget_grab_focus( GTK_WIDGET(last->data) );
handled = TRUE;
mid = 0; /* to stop loop */