~snizovtsev/gnome-utils/lp355141

« back to all changes in this revision

Viewing changes to debian/patches/07_fix_window_screenshot.diff

  • Committer: Sergey Nizovtsev
  • Date: 2009-10-30 22:07:14 UTC
  • Revision ID: nis@venus-20091030220714-pnfqyol0u6hvnet2
Add gdk_flush() to fix LP #355141

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff --git a/gnome-screenshot/gnome-screenshot.c b/gnome-screenshot/gnome-screenshot.c
 
2
index fe12c70..82b8191 100644
 
3
--- a/gnome-screenshot/gnome-screenshot.c
 
4
+++ b/gnome-screenshot/gnome-screenshot.c
 
5
@@ -1359,6 +1359,7 @@ main (int argc, char *argv[])
 
6
       dialog = create_interactive_dialog ();
 
7
       response = gtk_dialog_run (GTK_DIALOG (dialog));
 
8
       gtk_widget_destroy (dialog);
 
9
+      gdk_flush ();
 
10
 
 
11
       switch (response)
 
12
         {