]> git.hungrycats.org Git - linux/commitdiff
[PATCH] make gconfig warning removal
authorAndrew Morton <akpm@osdl.org>
Tue, 30 Dec 2003 07:44:00 +0000 (23:44 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 30 Dec 2003 07:44:00 +0000 (23:44 -0800)
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

scripts/kconfig/gconf.c

index 16e117dccdd87112eaa2e58c2cdeee75a9e80bd2..1fa4d035af486f77edf25767d5e5fec0a285c0be 100644 (file)
@@ -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;
 }