~ubuntu-branches/ubuntu/hardy/libgdiplus/hardy

« back to all changes in this revision

Viewing changes to tests/testgdi.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2007-12-18 13:08:10 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218130810-hlmitxfddf6h511j
Tags: 1.2.6-1ubuntu1
* Sync with Debian:
  - debian/control:
    + Add lpia and sparc to the architectures. We support them.
    + Change Maintainer to Ubuntu Mono Team.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        GpStatus st;
45
45
        GpImage *img;
46
46
        gunichar2 *unis;
47
 
        cairo_surface_t *surface;
48
47
 
49
48
        XClearWindow(win->dpy, win->win);
50
49
 
51
 
        surface = cairo_xlib_surface_create(win->dpy, win->win,
52
 
                                            DefaultVisual(win->dpy, DefaultScreen(win->dpy)),
53
 
                                            win->width, win->height);
54
 
 
55
 
        GdipCreateFromXDrawable_linux (NULL, NULL, &gp);
 
50
        GdipCreateFromXDrawable_linux (win->win, win->dpy, &gp);
56
51
        {       
57
52
                GpPen *pen;
58
53
                GpSolidFill *brush;