From 3116a3ac0c905548f523b51f2620688f3912ebda Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 29 Dec 2003 23:44:00 -0800 Subject: [PATCH] [PATCH] make gconfig warning removal From: "Maciej Soltysiak" 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 --- scripts/kconfig/gconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 16e117dccdd87..1fa4d035af486 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c @@ -1172,7 +1172,7 @@ on_treeview1_button_press_event(GtkWidget * widget, gtk_widget_realize(tree2_w); 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; } -- 2.53.0