[gimp/gtk3-port: 279/454] Revert "Bug 784480 - Clicking on-canvas GUI with a tablet stylus crashes..."



commit 681880f0d589a0b896e70b3387457248f862c10f
Author: Jehan <jehan girinstud io>
Date:   Wed May 2 01:24:37 2018 +0200

    Revert "Bug 784480 - Clicking on-canvas GUI with a tablet stylus crashes..."
    
    This reverts commit a8bc8d202cdca2bb8832de36362cbeee9f5762e0.
    Continue removing the same GTK+2 hack.

 app/display/gimpdisplayshell-callbacks.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-callbacks.c b/app/display/gimpdisplayshell-callbacks.c
index 55acd7b..2cd681e 100644
--- a/app/display/gimpdisplayshell-callbacks.c
+++ b/app/display/gimpdisplayshell-callbacks.c
@@ -116,17 +116,6 @@ gimp_display_shell_canvas_realize (GtkWidget        *canvas,
   gtk_widget_set_size_request (GTK_WIDGET (shell), 0, 0);
 
   shell->xfer = gimp_display_xfer_realize (GTK_WIDGET(shell));
-
-  /*  HACK: remove with GTK+ 3.x: this unconditionally maps the
-   *  rulers, if configured to be hidden they are never visible to the
-   *  user because they will be hidden again right away.
-   *
-   *  For some obscure reason, having the rulers mapped once prevents
-   *  crashes with tablets and on-canvas dialogs. See bug #784480 and
-   *  all its duplicates.
-   */
-  gtk_widget_show (shell->hrule);
-  gtk_widget_show (shell->vrule);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]