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 594801 - Use accessor functions instead direct access
Use accessor functions instead direct access
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks: 585391
 
 
Reported: 2009-09-10 20:10 UTC by Michael Chudobiak
Modified: 2015-12-17 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use accessor functions instead direct access. First patch (10.32 KB, patch)
2010-03-15 12:22 UTC, Javier Jardón (IRC: jjardon)
none Details | Review

Description Michael Chudobiak 2009-09-10 20:10:16 UTC
http://live.gnome.org/GnomeGoals/UseGseal

[mjc@xena gthumb]$ make CFLAGS+="-DGSEAL_ENABLE" > eraseme
make[2]: Circular gth-enum-types.h <- gth-enum-types.h dependency dropped.
make[4]: Circular gth-enum-types.h <- gth-enum-types.h dependency dropped.
eggfileformatchooser.c: In function ‘error_message_with_parent’:
eggfileformatchooser.c:591: error: ‘GtkWindow’ has no member named ‘group’
eggfileformatchooser.c:592: error: ‘GtkWindow’ has no member named ‘group’
eggfileformatchooser.c: In function ‘get_toplevel’:
eggfileformatchooser.c:605: error: ‘GtkObject’ has no member named ‘flags’
make[4]: *** [gthumb-eggfileformatchooser.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 1 Matthias Hawran 2010-03-15 10:41:43 UTC
Hey this is fixed! :-)
I just tested it in today's master

[ hawran@hobbes :{11:40:06}: ~/code/gthumb ]
$ git pull
Already up-to-date.
[ hawran@hobbes :{11:40:38}: ~/code/gthumb ]
$ make CFLAGS+="-DGSEAL_ENABLE" > eraseme
make[2]: Dépendance circulaire gth-enum-types.h <- gth-enum-types.h abandonnée.
make[4]: Dépendance circulaire gth-enum-types.h <- gth-enum-types.h abandonnée.

Close ?
Comment 2 Paolo Bacchilega 2010-03-15 11:37:08 UTC
no, it's not fixed yet
Comment 3 Javier Jardón (IRC: jjardon) 2010-03-15 12:22:24 UTC
Created attachment 156169 [details] [review]
Use accessor functions instead direct access. First patch

This is a first patch, some accessors still remaining
Comment 4 Paolo Bacchilega 2010-07-23 20:19:33 UTC
This is fixed for gtk+ version 2.20, version 2.21 requires other (few) accessors but I don't want gthumb to depend on gtk+ 2.21 just for that.
Comment 5 Javier Jardón (IRC: jjardon) 2011-01-21 23:03:02 UTC
Hey Paolo, any news about this?

Do you plan to port gthumb to GTK+3 ?
Comment 6 Paolo Bacchilega 2011-01-22 18:22:45 UTC
Not in this development cycle, my current plan is to release version 2.14 as a Gtk+ 2 application and then port gthumb to Gtk+ 3 for the next major release.
Comment 7 Michael Chudobiak 2015-12-17 14:41:31 UTC
Current versions use gtk3. Marking as obsolete.