~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to demos/gtk-demo/offscreen_window2.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20090923095004-e9xauadn4bjs5n7m
Tags: upstream-2.18.0
ImportĀ upstreamĀ versionĀ 2.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
      if (event->window == widget->window)
375
375
        {
376
376
          GdkPixmap *pixmap;
377
 
          GtkAllocation child_area;
378
377
          cairo_t *cr;
379
378
          cairo_matrix_t matrix;
380
379
          cairo_pattern_t *mask;
383
382
            {
384
383
              pixmap = gdk_offscreen_window_get_pixmap (bin->offscreen_window);
385
384
              gdk_drawable_get_size (pixmap, &width, &height);
386
 
              child_area = bin->child->allocation;
387
385
 
388
386
              cr = gdk_cairo_create (widget->window);
389
387