[gimp/gtk3-port: 60/234] 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: 60/234] app: didn't completely commit the display shell expose() -> draw() change
- Date: Sun, 8 Jan 2017 22:51:15 +0000 (UTC)
commit 6ef8cbd3711da7727a73c20dc4ddb437b9098f21
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 | 4 ++--
app/display/gimpdisplayshell.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-callbacks.h b/app/display/gimpdisplayshell-callbacks.h
index 2fca4e5..551f2d5 100644
--- a/app/display/gimpdisplayshell-callbacks.h
+++ b/app/display/gimpdisplayshell-callbacks.h
@@ -24,8 +24,8 @@ 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_origin_button_press (GtkWidget *widget,
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index f1b6aa8..4ddf9f2 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -596,8 +596,8 @@ gimp_display_shell_constructed (GObject *object)
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 (shell->canvas, "enter-notify-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]