Commit 3116a3ac authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] make gconfig warning removal

From: "Maciej Soltysiak" <solt@dns.toxicfilms.tv>

make gconfig causes this:

scripts/kconfig/gconf.c: In function `on_treeview1_button_press_event':
scripts/kconfig/gconf.c:1175: warning: passing arg 1 of
`gtk_widget_grab_focus' from incompatible pointer type
parent 548b4535
...@@ -1172,7 +1172,7 @@ on_treeview1_button_press_event(GtkWidget * widget, ...@@ -1172,7 +1172,7 @@ on_treeview1_button_press_event(GtkWidget * widget,
gtk_widget_realize(tree2_w); gtk_widget_realize(tree2_w);
gtk_tree_view_set_cursor(view, path, NULL, FALSE); gtk_tree_view_set_cursor(view, path, NULL, FALSE);
gtk_widget_grab_focus(GTK_TREE_VIEW(tree2_w)); gtk_widget_grab_focus(GTK_WIDGET(tree2_w));
return FALSE; return FALSE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment