[gimp/gtk3-port: 280/454] Revert "Bug 794356 - Rulers always shown for subsequent image views"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 280/454] Revert "Bug 794356 - Rulers always shown for subsequent image views"
- Date: Wed, 16 May 2018 21:44:14 +0000 (UTC)
commit 9b83083fbced2c5b4693ab61487e3fc59e0b7f76
Author: Jehan <jehan girinstud io>
Date: Wed May 2 01:27:53 2018 +0200
Revert "Bug 794356 - Rulers always shown for subsequent image views"
This reverts commit ea48b9f31ca3460611530b6a8297386d9acdaf92.
Final revert of GTK+2 hack.
app/display/gimpimagewindow.c | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index 39eb4a9..765a7f9 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -466,18 +466,9 @@ gimp_image_window_constructed (GObject *object)
gtk_paned_pack1 (GTK_PANED (private->right_hpane), private->notebook,
TRUE, TRUE);
-
- /* HACK: remove with GTK+ 3.x: there is no reason to
- * connect_after() here except the HACK at the end of
- * gimp_display_shell_canvas_realize().
- *
- * We need to make sure gimp_display_shell_appearance_update() is
- * called after realize() so the ill-shown rulers are properly
- * hidden again
- */
- g_signal_connect_after (private->notebook, "switch-page",
- G_CALLBACK (gimp_image_window_switch_page),
- window);
+ g_signal_connect (private->notebook, "switch-page",
+ G_CALLBACK (gimp_image_window_switch_page),
+ window);
g_signal_connect (private->notebook, "page-removed",
G_CALLBACK (gimp_image_window_page_removed),
window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]