Update deprecated GTK calls

Bug #783038 reported by Ross Younger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brot2
Fix Released
High
Unassigned

Bug Description

There are a number of these, which need to be worked through and squashed.

Revision history for this message
Ross Younger (crazyscot) wrote :

Existing comments reveal:

 * replace gtk_signal_connect() with g_signal_connect()
 * convert to use cairo
 * use GtkUIManager instead of GtkItemFactory

Changed in brot2:
status: New → Confirmed
importance: Undecided → Medium
Ross Younger (crazyscot)
Changed in brot2:
importance: Medium → High
Ross Younger (crazyscot)
Changed in brot2:
milestone: none → alpha2
Revision history for this message
Ross Younger (crazyscot) wrote :

Really ought to squash all GTK assertions. There's (currently) one coming off the About box.

Revision history for this message
Ross Younger (crazyscot) wrote :

Regarding cairo, I should go read http://www.cairographics.org/documentation/ - particularly its tutorial.
cairo_image_surface_create_for_data is probably the one that I'm looking for for the main canvas.

Revision history for this message
Ross Younger (crazyscot) wrote :

There's an entry in the FAQ about using pango with cairo - this will cover the HUD. I could presumably put the HUD on its own layer, switch the layer on and off rather than rerendering - even move it around at will. This will probably turn into another feature request.

Ross Younger (crazyscot)
Changed in brot2:
status: Confirmed → Fix Committed
Ross Younger (crazyscot)
Changed in brot2:
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

Related blueprints

Remote bug watches

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