[gimp/gtk3-port: 89/215] app: didn't completely commit the display shell expose() -> draw() change
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 89/215] app: didn't completely commit the display shell expose() -> draw() change
- Date: Mon, 3 Jan 2011 15:05:51 +0000 (UTC)
commit f8706260c665f1b23c2110b9328f79c1ae892b3c
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 20 13:24:12 2010 +0200
app: didn't completely commit the display shell expose() -> draw() change
app/display/gimpdisplayshell-callbacks.h | 8 ++++----
app/display/gimpdisplayshell.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-callbacks.h b/app/display/gimpdisplayshell-callbacks.h
index 9c36e2c..fbca762 100644
--- a/app/display/gimpdisplayshell-callbacks.h
+++ b/app/display/gimpdisplayshell-callbacks.h
@@ -28,11 +28,11 @@ void gimp_display_shell_canvas_realize (GtkWidget *widget,
void gimp_display_shell_canvas_size_allocate (GtkWidget *widget,
GtkAllocation *alloc,
GimpDisplayShell *shell);
-gboolean gimp_display_shell_canvas_expose (GtkWidget *widget,
- GdkEventExpose *eevent,
+gboolean gimp_display_shell_canvas_draw (GtkWidget *widget,
+ cairo_t *cr,
GimpDisplayShell *shell);
-gboolean gimp_display_shell_canvas_expose_after (GtkWidget *widget,
- GdkEventExpose *eevent,
+gboolean gimp_display_shell_canvas_draw_after (GtkWidget *widget,
+ cairo_t *cr,
GimpDisplayShell *shell);
gboolean gimp_display_shell_canvas_tool_events (GtkWidget *widget,
GdkEvent *event,
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 7bd5056..3158e88 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -554,11 +554,11 @@ gimp_display_shell_constructor (GType type,
g_signal_connect (shell->canvas, "size-allocate",
G_CALLBACK (gimp_display_shell_canvas_size_allocate),
shell);
- g_signal_connect (shell->canvas, "expose-event",
- G_CALLBACK (gimp_display_shell_canvas_expose),
+ g_signal_connect (shell->canvas, "draw",
+ G_CALLBACK (gimp_display_shell_canvas_draw),
shell);
- g_signal_connect_after (shell->canvas, "expose-event",
- G_CALLBACK (gimp_display_shell_canvas_expose_after),
+ g_signal_connect_after (shell->canvas, "draw",
+ G_CALLBACK (gimp_display_shell_canvas_draw_after),
shell);
g_signal_connect (shell->canvas, "enter-notify-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]