[TRIVIAL PATCH BEAVER] make gconfig warning removal
From: Maciej Soltysiak
Date: Sat Dec 20 2003 - 06:55:21 EST
Hello,
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
Please apply this trivial fix.
Available here:
http://www.soltysiak.com/patches/2.6/2.6.0/gconf/patch-2.6.0-gconf.diff
and in the body of this email
Best Regards,
Maciej
--- linux/scripts/kconfig/gconf.c~2003-12-19 23:34:45.218280808 +0100
+++ linux/scripts/kconfig/gconf.c2003-12-19 23:34:45.218280808 +0100
@@ -1172,7 +1172,7 @@
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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/