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

« back to all changes in this revision

Viewing changes to gtk/gtkmain.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:
1559
1559
          gdk_window_end_paint (event->any.window);
1560
1560
        }
1561
1561
      else
1562
 
        gtk_widget_send_expose (event_widget, event);
 
1562
        {
 
1563
          /* The app may paint with a previously allocated cairo_t,
 
1564
             which will draw directly to the window. We can't catch cairo
 
1565
             drap operatoins to automatically flush the window, thus we
 
1566
             need to explicitly flush any outstanding moves or double
 
1567
             buffering */
 
1568
          gdk_window_flush (event->any.window);
 
1569
          gtk_widget_send_expose (event_widget, event);
 
1570
        }
1563
1571
      break;
1564
1572
 
1565
1573
    case GDK_PROPERTY_NOTIFY: