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 569757 - gtk_ui_manager_add_ui_from_string (ABI change)
gtk_ui_manager_add_ui_from_string (ABI change)
Status: RESOLVED INVALID
Product: gtk+
Classification: Platform
Component: Class: UIManager / Actions
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 569724
 
 
Reported: 2009-01-30 02:15 UTC by Morten Welinder
Modified: 2009-01-30 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2009-01-30 02:15:37 UTC
gtk_ui_manager_add_ui_from_string used to be able to take strings of
the form

<?xml version="1.0" encoding="UTF-8"?>
<ui>
  <menubar>
    <menu name="Tools" action="MenuTools">
      <menu name="Hello" action="HelloMenu">
	<menuitem action="HelloWorld"/>
      </menu>
    </menu>
  </menubar>
</ui>

This no longer works: I have to delete the "<?xml ...?" part.
Comment 1 Morten Welinder 2009-01-30 02:16:06 UTC
Suspect change: http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/gtkuimanager.c?r1=8662&r2=8663&
Comment 2 Matthias Clasen 2009-01-30 04:50:33 UTC
The change you point at is from 2003. 
Comment 3 Morten Welinder 2009-01-30 12:54:54 UTC
> The change you point at is from 2003. 

Yes, I saw that.  The thing that got hit was a demo plugin and it is entirely
possible that it has been broken for five+ years.

However...   http://bugzilla.gnome.org/show_bug.cgi?id=569724#c1
leads me to suspect that I am blaming the wrong guy.

--> INVALID.  I'll reopen if the blame returns.