[vte] test: Don't use IMMEDIATE resize mode for the window



commit 3da10648004c2d201d5bbea1d773c183984a6e39
Author: Christian Persch <chpe gnome org>
Date:   Mon May 16 09:33:18 2016 +0200

    test: Don't use IMMEDIATE resize mode for the window
    
    This makes testvte segfault on startup due to an infinite recursion
    below gtk_window_size_allocate().

 src/vteapp.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index de46394..f0163f1 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -891,8 +891,6 @@ main(int argc, char **argv)
        /* Create a window to hold the scrolling shell, and hook its
         * delete event to the quit function.. */
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-       gtk_container_set_resize_mode(GTK_CONTAINER(window),
-                                     GTK_RESIZE_IMMEDIATE);
         if (border_width_string) {
                 guint w;
 


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