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 614575 - emerillon is broken with gtk 2.20.0
emerillon is broken with gtk 2.20.0
Status: RESOLVED FIXED
Product: emerillon
Classification: Other
Component: General
0.1.0
Other Linux
: Normal normal
: ---
Assigned To: emerillon-maint
emerillon-maint
Depends on:
Blocks: 615725
 
 
Reported: 2010-04-01 12:26 UTC by bouleetbil
Modified: 2010-04-20 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bump required Gtk+ version to 2.20 (728 bytes, patch)
2010-04-09 11:59 UTC, Andreas Henriksson
none Details | Review
Replace deprecated macros with new accessors. (1.46 KB, patch)
2010-04-09 11:59 UTC, Andreas Henriksson
none Details | Review
Replace cut-n-paste ephy_spinner with Gtk spinner. (28.45 KB, patch)
2010-04-09 11:59 UTC, Andreas Henriksson
none Details | Review

Description bouleetbil 2010-04-01 12:26:50 UTC
Hi,
emerillon is broken with new gtk:
gmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so ../cut-paste/.libs/libephyspinner.a -pthread
window.o: In function `sidebar_visibility_changed_cb':
window.c:(.text+0x10c4): undefined reference to `GTK_WIDGET_VISIBLE'
sidebar.o: In function `emerillon_sidebar_menu_position_under':
sidebar.c:(.text+0x12ee): undefined reference to `GTK_WIDGET_NO_WINDOW'
collect2: ld returned 1 exit status
make[4]: *** [emerillon] Error 1
make[4]: Leaving directory `/var/tmp/fst/src/emerillon-0.1.1/emerillon'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/fst/src/emerillon-0.1.1/emerillon'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/fst/src/emerillon-0.1.1/emerillon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/fst/src/emerillon-0.1.1'
make: *** [all] Error 2
Comment 1 André Klapper 2010-04-06 22:33:28 UTC
What's your value of --enable-deprecations ?
Comment 2 bouleetbil 2010-04-08 08:59:43 UTC
hi,
Thanks fixed with --enable-deprecations=no
Comment 3 Andreas Henriksson 2010-04-09 11:59:41 UTC
Created attachment 158279 [details] [review]
Bump required Gtk+ version to 2.20
Comment 4 Andreas Henriksson 2010-04-09 11:59:45 UTC
Created attachment 158280 [details] [review]
Replace deprecated macros with new accessors.

GTK_WIDGET_NO_WINDOW and GTK_WINDGET_VISIBLE
is deprecated in Gtk+ 2.20 and since emerillon compiles
with deprecations enabled by default this makes it
fail to build with Gtk 2.20.
Comment 5 Andreas Henriksson 2010-04-09 11:59:49 UTC
Created attachment 158281 [details] [review]
Replace cut-n-paste ephy_spinner with Gtk spinner.

There is a spinner included in Gtk+ since atleast 2.20.
Comment 6 Pierre-Luc Beaudoin 2010-04-09 16:10:04 UTC
I don't have Gtk+ 2.20 yet, if someone can confirm these patch works, I'd commit them.
Comment 7 Łukasz Jernaś 2010-04-14 09:08:35 UTC
Works for me with those patches. Although the GSEAL migration isn't complete yet
Comment 8 Łukasz Jernaś 2010-04-20 20:38:08 UTC
Patches pushed. I squashed two commits if you don't mind. I can't close this bug until I get the proper bugzilla permissions though…