[vte/vte-0-44] test: Don't use IMMEDIATE resize mode for the window
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [vte/vte-0-44] test: Don't use IMMEDIATE resize mode for the window
- Date: Mon, 16 May 2016 07:34:09 +0000 (UTC)
commit 086c907335186167a13f65252c5e3282bdfe713b
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().
    
    (cherry picked from commit 3da10648004c2d201d5bbea1d773c183984a6e39)
 src/vteapp.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index 6e094e7..78f3e03 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -892,8 +892,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]