aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-12-29 23:44:00 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-12-29 23:44:00 -0800
commit3116a3ac0c905548f523b51f2620688f3912ebda (patch)
treea1ba830dd988a862a746429aa50821d7c0e41663 /scripts
parent548b4535edc6a1e4ce4c56d8dba7435b879f8de9 (diff)
downloadhistory-3116a3ac0c905548f523b51f2620688f3912ebda.tar.gz
[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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/gconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 16e117dccdd871..1fa4d035af486f 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;
}