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 741356 - Warning when insert-text callback of GtkEntry is called
Warning when insert-text callback of GtkEntry is called
Status: RESOLVED DUPLICATE of bug 644927
Product: pygobject
Classification: Bindings
Component: introspection
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-10 18:40 UTC by Nick Hall
Modified: 2014-12-11 00:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
python example (365 bytes, text/plain)
2014-12-10 18:40 UTC, Nick Hall
Details
C example (913 bytes, text/plain)
2014-12-10 18:40 UTC, Nick Hall
Details

Description Nick Hall 2014-12-10 18:40:10 UTC
Created attachment 292476 [details]
python example

I get the following warning when the insert-text callback of a GtkEntry widget is called:

Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed

The problem can be demonstrated with a simple example.  The warning occurs in the python code, but not the C code.
Comment 1 Nick Hall 2014-12-10 18:40:53 UTC
Created attachment 292477 [details]
C example
Comment 2 Christoph Reiter (lazka) 2014-12-10 19:34:48 UTC
This is bug 644927, see https://bugzilla.gnome.org/show_bug.cgi?id=708676#c4 for a "workaround".
Comment 3 Nick Hall 2014-12-10 20:00:32 UTC
Thanks.  I'll use the workaround as it appears that bug #644927 will not be fixed soon.

*** This bug has been marked as a duplicate of bug 644927 ***