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 724503 - Make gtk_popover_bind_model() public
Make gtk_popover_bind_model() public
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.11.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 724493
 
 
Reported: 2014-02-16 21:12 UTC by Juan R. Garcia Blanco
Modified: 2014-02-21 08:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make gtk_popover_bind_model public (3.37 KB, patch)
2014-02-16 21:12 UTC, Juan R. Garcia Blanco
none Details | Review
Make gtk_popover_bind_model public (3.51 KB, patch)
2014-02-16 21:18 UTC, Juan R. Garcia Blanco
committed Details | Review
Fix gtk_popover_bind_model documentation (995 bytes, patch)
2014-02-17 22:29 UTC, Juan R. Garcia Blanco
rejected Details | Review

Description Juan R. Garcia Blanco 2014-02-16 21:12:02 UTC
Created attachment 269331 [details] [review]
Make gtk_popover_bind_model public

We are trying to wrap gtk_popover_new_from_model() in gtkmm, and having access to gtk_popover_bind_model() is the missing piece to finish wrapping this new constructor. Please note that this is a really-nice-to-have.

In GtkMenuShell there is a public gtk_menu_shell_bind_model() method, and the *_new_from_model constructors of GtkMenuShell and derived classes seem to be equivalent to GtkPopover's.

In the attached patch I've almost carbon-copied gtk_menu_shell_bind_model()'s documentation. So in case this seems a good idea, please feel free to modify the documentation as your will, or maybe it would be easier to not apply the patch and modify the source directly.
Comment 1 Juan R. Garcia Blanco 2014-02-16 21:18:49 UTC
Created attachment 269332 [details] [review]
Make gtk_popover_bind_model public

Added more documentation.
Comment 2 Juan R. Garcia Blanco 2014-02-17 22:29:51 UTC
Created attachment 269470 [details] [review]
Fix gtk_popover_bind_model documentation

model parameter cannot be NULL, as erroneously is stated in the documentation.
Comment 3 Juan R. Garcia Blanco 2014-02-19 21:48:51 UTC
Sorry, now I realise model parameter *can* be NULL. Unfortunately I think I cannot remove the latest patch.
Comment 4 Murray Cumming 2014-02-21 08:59:02 UTC
Comment on attachment 269470 [details] [review]
Fix gtk_popover_bind_model documentation

I've set this to rejected because the author thinks it is wrong/unnecessary now.