Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285816
b: refs/heads/master
c: 4f0c28f
h: refs/heads/master
v: v3
  • Loading branch information
Peter Foley authored and Michal Marek committed Dec 11, 2011
1 parent cfda793 commit 4b2dce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7d6f6e407d617da7a3cda8865e593523eb6ee80
refs/heads/master: 4f0c28f77932c51ba7639a6174047ec8c6560116
5 changes: 1 addition & 4 deletions trunk/scripts/kconfig/gconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ static void renderer_edited(GtkCellRendererText * cell,
static void change_sym_value(struct menu *menu, gint col)
{
struct symbol *sym = menu->sym;
tristate oldval, newval;
tristate newval;

if (!sym)
return;
Expand All @@ -847,7 +847,6 @@ static void change_sym_value(struct menu *menu, gint col)
switch (sym_get_type(sym)) {
case S_BOOLEAN:
case S_TRISTATE:
oldval = sym_get_tristate_value(sym);
if (!sym_tristate_within_range(sym, newval))
newval = yes;
sym_set_tristate_value(sym, newval);
Expand Down Expand Up @@ -1278,7 +1277,6 @@ static void update_tree(struct menu *src, GtkTreeIter * dst)
gboolean valid;
GtkTreeIter *sibling;
struct symbol *sym;
struct property *prop;
struct menu *menu1, *menu2;

if (src == &rootmenu)
Expand All @@ -1287,7 +1285,6 @@ static void update_tree(struct menu *src, GtkTreeIter * dst)
valid = gtk_tree_model_iter_children(model2, child2, dst);
for (child1 = src->list; child1; child1 = child1->next) {

prop = child1->prompt;
sym = child1->sym;

reparse:
Expand Down

0 comments on commit 4b2dce2

Please sign in to comment.