gdk_cairo_crate failed
This commit is contained in:
parent
28f3c96ce4
commit
157f4a73cd
|
@ -67,6 +67,7 @@ gboolean drawingarea_draw_event_cb(GtkWidget *widget, GdkEventExpose *event, gpo
|
|||
{
|
||||
cairo_t *cr;
|
||||
|
||||
return TRUE;
|
||||
cr = gdk_cairo_create (widget->window);
|
||||
cairo_set_line_width (cr, 7);
|
||||
cairo_set_source_rgb (cr, 0, 0, 0);
|
||||
|
|
|
@ -313,7 +313,7 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="events">GDK_EXPOSURE_MASK | GDK_STRUCTURE_MASK</property>
|
||||
<property name="halign">start</property>
|
||||
<signal name="draw" handler="drawingarea_draw_event_cp" swapped="no"/>
|
||||
<signal name="draw" handler="drawingarea_draw_event_cb" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
|
|
Loading…
Reference in New Issue