GNOME Bugzilla – Bug 704671
gtk_menu_new_from_model() does more than call g_object_new()
Last modified: 2018-05-02 15:44:07 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.
-- 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.