After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635258 - Possible type to symbol translation bug
Possible type to symbol translation bug
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkBuilder
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GtkBuilder maintainers
GtkBuilder maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-19 10:46 UTC by Rob Staudinger
Modified: 2014-09-27 03:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
symbol-from-name.c (1.19 KB, text/plain)
2010-11-19 10:46 UTC, Rob Staudinger
Details

Description Rob Staudinger 2010-11-19 10:46:37 UTC
Created attachment 174835 [details]
symbol-from-name.c

I think there might be a bug in _gtk_builder_resolve_type_lazily().

The grammar is given as:
  NAME := INITIAL_WORD WORD+
  INITIAL_WORD := [A-Z][a-z0-9]*
  WORD := [A-Z]{1,2}[a-z0-9]+ | [A-Z]{2,}
(cf http://mail.gnome.org/archives/gtk-devel-list/2007-June/msg00022.html )

But type name "Me2Shell" is looking for "me_2shell_get_type" and "E2Shell" for
"e2shell_get_type".

Adding a test snipped that pulls out the function in question for easy testing.