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 704671 - gtk_menu_new_from_model() does more than call g_object_new()
gtk_menu_new_from_model() does more than call g_object_new()
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-07-22 11:32 UTC by Murray Cumming
Modified: 2018-05-02 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2013-07-22 11:32:01 UTC
GTK+ *_new() functions typically just call g_object_new() with the appropriate property values, allowing language bindings to do the same thing in their "constructors", but with their own derived GType. Language bindings can't do that when the C function has extra implementation as gtk_menu_new_from_model():
https://git.gnome.org/browse/gtk+/tree/gtk/gtkmenu.c#n5605

It's not terrible, because it's a small function that can easily be reimplemented, but it's not ideal.
Comment 1 GNOME Infrastructure Team 2018-05-02 15:44:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/436.