Mercurial > pidgin
annotate plugins/perl/common/Stringref.xs @ 11319:d9debf609b79
[gaim-migrate @ 13522]
I'm quite amazed this worked at all. Did no-one notice debug output like this:
Gtk: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators
Gtk: gtk_text_buffer_set_mark: assertion `gtk_text_iter_get_buffer (iter) == buffer' failed
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Sat, 20 Aug 2005 21:11:57 +0000 |
| parents | b284c703d398 |
| children | 6fd82071a7b8 |
| rev | line source |
|---|---|
| 11118 | 1 #include "module.h" |
| 2 | |
| 3 MODULE = Gaim::Stringref PACKAGE = Gaim::Stringref PREFIX = gaim_stringref_ | |
| 4 PROTOTYPES: ENABLE | |
| 5 | |
| 6 int | |
| 7 gaim_stringref_cmp(s1, s2) | |
| 8 Gaim::Stringref s1 | |
| 9 Gaim::Stringref s2 | |
| 10 | |
| 11 size_t | |
| 12 gaim_stringref_len(stringref) | |
| 13 Gaim::Stringref stringref | |
| 14 | |
| 15 Gaim::Stringref | |
| 16 gaim_stringref_new(value) | |
| 17 const char *value | |
| 18 | |
| 19 Gaim::Stringref | |
| 20 gaim_stringref_new_noref(value) | |
| 21 const char *value | |
| 22 | |
| 23 | |
| 24 | |
| 25 Gaim::Stringref | |
| 26 gaim_stringref_ref(stringref) | |
| 27 Gaim::Stringref stringref | |
| 28 | |
| 29 void | |
| 30 gaim_stringref_unref(stringref) | |
| 31 Gaim::Stringref stringref | |
| 32 | |
| 33 const char * | |
| 34 gaim_stringref_value(stringref) | |
| 35 Gaim::Stringref stringref | |
| 36 |
