diff options
| author | Roman Zippel <zippel@linux-m68k.org> | 2004-01-06 03:45:55 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-06 03:45:55 -0800 |
| commit | cf2c4a429483a68475bbcce9a9364eb883aaf5b7 (patch) | |
| tree | 2f164fc52cfdb760a10a4a121f0210edf7d0bb94 /scripts | |
| parent | 46bd8fd806b94c01bdcf655d84ce6127b4aaf9ea (diff) | |
[PATCH] gconf compile warning fixes
gconf compile warning fixes (by Buddy Lucas <b.lucas@ohra.nl>)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/gconf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index b2ff95d8e732..792a0664c5ab 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c @@ -1173,7 +1173,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_WIDGET(tree2_w)); + gtk_widget_grab_focus(tree2_w); return FALSE; } @@ -1402,7 +1402,6 @@ static void update_tree(struct menu *src, GtkTreeIter * dst) struct symbol *sym; struct property *prop; struct menu *menu1, *menu2; - static GtkTreePath *path = NULL; if (src == &rootmenu) indent = 1; @@ -1527,8 +1526,8 @@ static void display_tree(struct menu *menu) if (((menu != &rootmenu) && !(menu->flags & MENU_ROOT)) || (view_mode == FULL_VIEW) || (view_mode == SPLIT_VIEW))*/ - if ((view_mode == SINGLE_VIEW) && (menu->flags & MENU_ROOT) - || (view_mode == FULL_VIEW) || (view_mode == SPLIT_VIEW)) { + if (((view_mode == SINGLE_VIEW) && (menu->flags & MENU_ROOT)) + || (view_mode == FULL_VIEW) || (view_mode == SPLIT_VIEW)) { indent++; display_tree(child); indent--; |
