[gimp] app: don't pause/resume the shell (and the active tool) around expose()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't pause/resume the shell (and the active tool) around expose()
- Date: Fri, 25 Mar 2011 20:29:40 +0000 (UTC)
commit a5549ece52fc411200cbeb98750b388452516f5c
Author: Michael Natterer <mitch gimp org>
Date: Fri Mar 25 21:28:21 2011 +0100
app: don't pause/resume the shell (and the active tool) around expose()
This was only there to make sure XOR drawing works, and is now
complete overhead since cairo drawing is done *in* expose, and not in
some hack around it.
app/display/gimpdisplayshell-callbacks.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-callbacks.c b/app/display/gimpdisplayshell-callbacks.c
index 1c76f61..c44da44 100644
--- a/app/display/gimpdisplayshell-callbacks.c
+++ b/app/display/gimpdisplayshell-callbacks.c
@@ -244,8 +244,6 @@ gimp_display_shell_canvas_expose (GtkWidget *widget,
if (gimp_display_get_image (shell->display))
{
- gimp_display_shell_pause (shell);
-
if (gimp_display_shell_is_double_buffered (shell))
gdk_window_begin_paint_region (eevent->window, eevent->region);
}
@@ -288,8 +286,6 @@ gimp_display_shell_canvas_expose_after (GtkWidget *widget,
{
if (gimp_display_shell_is_double_buffered (shell))
gdk_window_end_paint (eevent->window);
-
- gimp_display_shell_resume (shell);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]