login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
27
Re: [PATCH 4/6] gconfig: fix null pointer warning
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Randy Dunlap
Subject:
Re: [PATCH 4/6] gconfig: fix null pointer warning
Date: Tuesday, April 27, 2010 - 1:36 pm
On Tue, 27 Apr 2010 15:49:00 +0800 Li Zefan wrote:
quoted text
> In gconfig if you enable "Show all options", you'll see some "(null)" > config options, and clicking those options triggers a warning: > > (gconf:9368): Gtk-CRITICAL **: gtk_text_buffer_insert_with_tags: assertion `text != NULL' failed > > Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
quoted text
> --- > scripts/kconfig/gconf.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c > index 1b18329..d669882 100644 > --- a/scripts/kconfig/gconf.c > +++ b/scripts/kconfig/gconf.c > @@ -1343,7 +1343,8 @@ static void update_tree(struct menu *src, GtkTreeIter * dst) > #endif > > if ((opt_mode == OPT_NORMAL && !menu_is_visible(child1)) || > - (opt_mode == OPT_PROMPT && !menu_has_prompt(child1))) { > + (opt_mode == OPT_PROMPT && !menu_has_prompt(child1)) || > + (opt_mode == OPT_ALL && !menu_get_prompt(child1))) { > > /* remove node */ > if (gtktree_iter_find_node(dst, menu1) != NULL) { > @@ -1425,7 +1426,7 @@ static void display_tree(struct menu *menu) > > if ((opt_mode == OPT_NORMAL && menu_is_visible(child)) || > (opt_mode == OPT_PROMPT && menu_has_prompt(child)) || > - (opt_mode == OPT_ALL)) > + (opt_mode == OPT_ALL && menu_get_prompt(child))) > place_node(child, fill_row(child)); > #ifdef DEBUG > printf("%*c%s: ", indent, ' ', menu_get_prompt(child)); > --
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/6] kconfig: print symbol type in help text
, Li Zefan
, (Tue Apr 27, 12:48 am)
Re: [PATCH 1/6] kconfig: print symbol type in help text
, Li Zefan
, (Tue Apr 27, 12:48 am)
[PATCH 3/6] gconfig: fix to tag NEW symbols correctly
, Li Zefan
, (Tue Apr 27, 12:48 am)
[PATCH 4/6] gconfig: fix null pointer warning
, Li Zefan
, (Tue Apr 27, 12:49 am)
[PATCH 5/6] xconfig: remove unused function
, Li Zefan
, (Tue Apr 27, 12:49 am)
[PATCH 6/6] xconfig: Add support to show hidden options wh ...
, Li Zefan
, (Tue Apr 27, 12:49 am)
Re: [PATCH 1/6] kconfig: print symbol type in help text
, Randy Dunlap
, (Tue Apr 27, 1:36 pm)
Re: [PATCH 1/6] kconfig: print symbol type in help text
, Randy Dunlap
, (Tue Apr 27, 1:36 pm)
Re: [PATCH 4/6] gconfig: fix null pointer warning
, Randy Dunlap
, (Tue Apr 27, 1:36 pm)
Re: [PATCH 6/6] xconfig: Add support to show hidden option ...
, Randy Dunlap
, (Tue Apr 27, 1:42 pm)
Re: [PATCH 6/6] xconfig: Add support to show hidden option ...
, Randy Dunlap
, (Thu Apr 29, 7:40 am)
Re: [PATCH 6/6] xconfig: Add support to show hidden option ...
, Randy Dunlap
, (Mon May 3, 11:01 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
swhiteho
[PATCH 42/51] [GFS2] Move inode deletion out of blocking_cb
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Benjamin Herrenschmidt
[git pull] Please pull powerpc.git merge branch
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Vivek Goyal
Re: [PATCH v4] sched: automated per session task groups
git
:
Mike Miller
git message
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Jeff King
Re: [PATCH] t7004: test that "git-tag -u" implies "-s"
Christian MICHON
Re: VCS comparison table
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
Documentation/timers/hpet_example.c: only build on X86
Linux Kernel Mailing List
kbuild: move bounds.h to include/generated
Linux Kernel Mailing List
NFSv4: Move error handling out of the delegation generic code
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
David Miller
Re: [PATCH 2/5] dccp: Auto-load (when supported) CCID plugins for negotiation
Chuck Lever
Re: svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Christian Weisgerber
Re: CARP with a single public IP address
Marco Peereboom
Re: OpenBSD culture?
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Colocation donated by:
Syndicate