should build without GTK deprecations

Bug #655612 reported by Sebastien Bacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Messaging Menu
Fix Released
Undecided
Unassigned
indicator-messages (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: indicator-messages

Ubuntu will start using GTK3 in its default installation next cycle, as a first step to be ready for that your sources should build on GTK 2.22 with GTK deprecations disabled which is not the case for the current indicator-message version

You can set CFLAGS='-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGSEAL_ENABLE -DG_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES' to testbuild it.

You can also find documentation on how to port code on http://library.gnome.org/devel/gtk/2.91/gtk-migrating-2-to-3.html

build log error:

"indicator-messages.c: In function ‘application_triangle_draw_cb’:
indicator-messages.c:319: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:320: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:320: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:323: error: ‘GtkWidget’ has no member named ‘window’
indicator-messages.c: In function ‘numbers_draw_cb’:
indicator-messages.c:374: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:375: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:376: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:377: error: ‘GtkWidget’ has no member named ‘allocation’
indicator-messages.c:388: error: ‘GtkWidget’ has no member named ‘window’"

Tags: gnome3-gtk3

Related branches

Changed in indicator-messages (Ubuntu):
importance: Undecided → Low
tags: added: gnome3-gtk3
description: updated
Michael Terry (mterry)
Changed in indicator-messages:
assignee: nobody → Michael Terry (mterry)
Michael Terry (mterry)
Changed in indicator-messages (Ubuntu):
assignee: nobody → Michael Terry (mterry)
status: New → In Progress
Michael Terry (mterry)
Changed in indicator-messages:
status: New → Fix Committed
assignee: Michael Terry (mterry) → nobody
Changed in indicator-messages (Ubuntu):
assignee: Michael Terry (mterry) → nobody
status: In Progress → Fix Committed
Changed in indicator-messages (Ubuntu):
status: Fix Committed → Fix Released
Changed in indicator-messages:
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.