Replace expose-event handler with draw handler in GTK3
commitfe43bca85b269314b007cd9b2eecc4a52aa73dde
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 25 Feb 2013 15:20:42 +0000 (25 15:20 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Feb 2013 19:29:53 +0000 (26 13:29 -0600)
tree4f66ac33502c7328fdf493d72c9ed80ee2b3c305
parent1ed76b59c4f8670eb06df48cebe086da06111e1f
Replace expose-event handler with draw handler in GTK3

In GTK3 the 'expose-event' signal has been replaced by a new
'draw' signal. The only difference is that the latter will
pre-create the cairo drawing context & set the clip mask.
Since the drawing code is already structured in a nice way,
we can just wire up the 'gd_draw_event' method to the 'draw'
signal in GTK3

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1361805646-6425-10-git-send-email-berrange@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/gtk.c