build against gtk3.2 fails due to deprecated APIs

Bug #852110 reported by Thomas Weißschuh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eina
Fix Released
Low
Unassigned

Bug Description

gel-ui-dialogs.c: In function 'gel_ui_dialog_generic':
gel-ui-dialogs.c:66:2: error: implicit declaration of function 'gtk_hbox_new' [-Werror=implicit-function-declaration]
gel-ui-dialogs.c:66:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
gel-ui-dialogs.c:67:2: error: implicit declaration of function 'gtk_vbox_new' [-Werror=implicit-function-declaration]
gel-ui-dialogs.c:67:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

This happens both in 0.12.0 and git (2716c0)

system: archlinux x64, with testing and gnome-unstable enabled, gtk3.1.90-1 from 2011-09-14
short term fix: compile with "-UGTK_DISABLE_DEPRECATED"
long term fix: see http://developer.gnome.org/gtk3/unstable/GtkHBox.html

Can't say if other deprecated APIs are used since I then undefined the deprecation check.
If you don't have easy access to a gtk3.2 enabled system I'd be glad to provide you further bug reports against git versions.

Regards,
Thomas

Revision history for this message
L.Lopez (ldotlopez) wrote :

Hi,

Can you check if attached patch solves the problem?

BTW, any help with gtk3.2 or anything else is very much appreciated.

Changed in eina:
status: New → Triaged
Revision history for this message
L.Lopez (ldotlopez) wrote :

Sorry, I should go to sleep. Forget patch from #1, try this one.

Revision history for this message
Thomas Weißschuh (thomas-weissschuh) wrote :

For the record: Git(hub) pull request sent.

Ps: you are setting homogeneous two times on the hbox, I assume, this is wasn't right.

L.Lopez (ldotlopez)
Changed in eina:
importance: Undecided → Low
L.Lopez (ldotlopez)
Changed in eina:
status: Triaged → Fix Committed
L.Lopez (ldotlopez)
Changed in eina:
milestone: none → 0.14.0
L.Lopez (ldotlopez)
Changed in eina:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.