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 590769 - Can't create a SourceBuffer from a Gtk::TextTagTable
Can't create a SourceBuffer from a Gtk::TextTagTable
Status: RESOLVED FIXED
Product: gtksourceviewmm
Classification: Other
Component: general
git master
Other All
: Normal major
: ---
Assigned To: gtksourceviewmm-maint
gtksourceviewmm-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-04 19:02 UTC by Fabien Parent
Modified: 2009-11-27 13:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Test case (443 bytes, text/x-c++src)
2009-08-04 19:03 UTC, Fabien Parent
  Details
Patch (1.57 KB, patch)
2009-08-04 19:04 UTC, Fabien Parent
none Details | Review
New patch (984 bytes, patch)
2009-09-05 17:42 UTC, Fabien Parent
none Details | Review

Description Fabien Parent 2009-08-04 19:02:15 UTC
Please describe the problem:
We got a warning when we try to create a sourcebuffer from a texttagtable.
(test:21180): glibmm-WARNING **: Glib::ConstructParams::ConstructParams(): object class "gtkmm__GtkSourceBuffer" has no property named "tagtable"

And we can't use all tags on the buffer.

Steps to reproduce:
1. create a buffer from a Glib::RefPtr<Gtk::TextTagTable>

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Fabien Parent 2009-08-04 19:03:13 UTC
Created attachment 139892 [details]
Test case
Comment 2 Fabien Parent 2009-08-04 19:04:01 UTC
Created attachment 139893 [details] [review]
Patch
Comment 3 Fabien Parent 2009-09-05 17:42:33 UTC
Created attachment 142544 [details] [review]
New patch

This patch is better than the previous one.
Comment 4 Murray Cumming 2009-11-27 13:16:48 UTC
If you have commit access, please do commit this to any branch that you like.

Sorry for not noticing this until now.
Comment 5 Fabien Parent 2009-11-27 13:49:20 UTC
Fixed in master.