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 687680 - Gtranslator broken with gdl 3.6.x
Gtranslator broken with gdl 3.6.x
Status: RESOLVED DUPLICATE of bug 680399
Product: gtranslator
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: 2.2
Assigned To: gtranslator-maint
gtranslator-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-05 18:45 UTC by Daniel Mustieles
Modified: 2012-11-14 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Mustieles 2012-11-05 18:45:50 UTC
Gtranslator shows several errors when using GDL-3.6.

(gtranslator:1972): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gtranslator:1972): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gtranslator:1972): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion `G_IS_OBJECT (object)' failed

** (gtranslator:1972): WARNING **: Loading layout failed!!

(gtranslator:1972): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** Message: Dispose tab

If the window's layout is modified, changes are not saved (thus not loaded the next time it is executed).

Could you please help us with this issue?
Comment 1 Johannes Schmid 2012-11-05 18:51:49 UTC
There have been various deprecations and changes in gdl 3.6. Anyway, we might be able to take a look but foremost this is a bug in gtranslator, not in gdl.
Comment 2 Ignacio Casal Quinteiro (nacho) 2012-11-05 18:54:31 UTC
I do not agree the code is the same as in anjuta.
Comment 3 Sébastien Granjoux 2012-11-05 20:36:37 UTC
(In reply to comment #2)
> I do not agree the code is the same as in anjuta.

GDL is working with Anjuta without any critical warnings, so something should be different.

I have tried to run GTranslator when changing GDL but I have get a crash here even with the old version. I will try again.

In GDL 3.6.0, I have removed all public members but I haven't renamed them to keep the binary compatibility if they are not used. That's definitively an error, there is a patch in master branch of GDL renaming those members so you should get an error at compile time if you use them.

Another option is to use the GDL_DISABLE_DEPRECATED, this breaks the binary compatibility but it removes all deprecated members so it will not compile anymore.

Normally, I have updated the library version number correctly to indicate that GDL 3.6.0 has a new API.
Comment 4 Daniel Mustieles 2012-11-14 12:19:36 UTC

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