lkml.org 
[lkml]   [2003]   [Dec]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From"Maciej Soltysiak" <>
Subject[TRIVIAL PATCH BEAVER] make gconfig warning removal
DateSat, 20 Dec 2003 12:53:31 +0100
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008