/src/marshal.[ch]
/src/stock-pixmaps/stockpixbufs.h
+/src/cursors/cursor_pixdata.h
/src/glabels
/src/glabels-3
/src/glabels-batch
/data/mime/glabels*.xml
+/data/schemas/*.gschema.valid
+/data/schemas/*.gschema.xml
+/data/schemas/*.gschema.xml.in
+
/po/.intltool-merge-cache
/po/*.gmo
/po/POTFILES
{
view->update_scheduled_flag = TRUE;
- gtk_widget_get_allocation (GTK_WIDGET (view->canvas), &allocation);
+ allocation.x = 0;
+ allocation.y = 0;
+ allocation.width = gtk_widget_get_allocated_width (view->canvas);
+ allocation.height = gtk_widget_get_allocated_height (view->canvas);
gdk_window_invalidate_rect (window, &allocation, TRUE);
}
draw_cb (glView *view,
cairo_t *cr)
{
+ GdkWindow *bin_window;
+ cairo_t *bin_cr;
+
gl_debug (DEBUG_VIEW, "START");
view->update_scheduled_flag = FALSE;
- draw_layers (view, cr);
+
+ bin_window = gtk_layout_get_bin_window (GTK_LAYOUT (view->canvas));
+ bin_cr = gdk_cairo_create (bin_window);
+
+ draw_layers (view, bin_cr);
+
+ cairo_destroy (bin_cr);
gl_debug (DEBUG_VIEW, "END");