summaryrefslogtreecommitdiff
path: root/gtk/gtkoldeditable.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 04:40:38 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-02 04:42:54 +0100
commit483a5a9e1a55f01cbd20b7bbd301ee59efaa4c64 (patch)
treee3a891d6c201b402a731d4458f45dbde27aba3a9 /gtk/gtkoldeditable.c
parentf19dc0bd4b117f3e80c2487e73db63bd672e9c1b (diff)
downloadgtk+-483a5a9e1a55f01cbd20b7bbd301ee59efaa4c64.tar.gz
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
Use new API instead: gtk_widget_set_can_focus ()
Diffstat (limited to 'gtk/gtkoldeditable.c')
-rw-r--r--gtk/gtkoldeditable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c
index f1bf74d0cf..f38022c90f 100644
--- a/gtk/gtkoldeditable.c
+++ b/gtk/gtkoldeditable.c
@@ -362,7 +362,7 @@ gtk_old_editable_init (GtkOldEditable *old_editable)
{ "COMPOUND_TEXT", 0, 0 }
};
- GTK_WIDGET_SET_FLAGS (old_editable, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (GTK_WIDGET (old_editable), TRUE);
old_editable->selection_start_pos = 0;
old_editable->selection_end_pos = 0;