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 412357 - GtkMenuShell not defined as an abstract base type
GtkMenuShell not defined as an abstract base type
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal trivial
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 405514
 
 
Reported: 2007-02-26 19:06 UTC by Vincent Geddes
Modified: 2007-06-18 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Define GtkMenuShell as an abstract type (502 bytes, patch)
2007-04-06 20:04 UTC, Vincent Geddes
none Details | Review
fixes bug (1.13 KB, patch)
2007-06-17 22:02 UTC, Vincent Geddes
none Details | Review

Description Vincent Geddes 2007-02-26 19:06:04 UTC
I see that GtkMenuShell is advertised as an abstract base class in the GTK+ docs,
yet it's GType is defined using G_DEFINE_TYPE() instead of G_DEFINE_ABSTRACT_TYPE().
Comment 1 Vincent Geddes 2007-04-06 20:04:36 UTC
Created attachment 85925 [details] [review]
Define GtkMenuShell as an abstract type
Comment 2 Vincent Geddes 2007-06-17 21:36:08 UTC
I have tested this against svn trunk. Any chance of this trivial patch going in?

The bug hinders glade3's ability to categorise widgets properly.
Comment 3 Vincent Geddes 2007-06-17 22:02:00 UTC
Created attachment 90177 [details] [review]
fixes bug
Comment 4 Matthias Clasen 2007-06-18 01:07:15 UTC
2007-06-17  Matthias Clasen <mclasen@redhat.com>

        * README.in: Updates

        * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
        It was already documented as such.  (#412357, Vincent Geddes)