summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.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/gtktoolitem.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/gtktoolitem.c')
-rw-r--r--gtk/gtktoolitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 9b62ced72d..143e904b79 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -308,7 +308,7 @@ gtk_tool_item_class_init (GtkToolItemClass *klass)
static void
gtk_tool_item_init (GtkToolItem *toolitem)
{
- GTK_WIDGET_UNSET_FLAGS (toolitem, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (GTK_WIDGET (toolitem), FALSE);
toolitem->priv = GTK_TOOL_ITEM_GET_PRIVATE (toolitem);