On Wed, Dec 09, 2009 at 11:13:57AM +0000, Michele Mattioni wrote:
> Hello list,
>
> I downloaded the python binding from git gnome today and I tried to run the
> Shapes example but I've got a segfault
>
> matti...@triton:examples(master)$ python Shapes.py
> Segmentation fault
See if the attached patch fixes this crash.
Mukund
>From 3bb22c1f7aa85221102095bc2e640ef6c7659ac9 Mon Sep 17 00:00:00 2001
From: Mukund Sivaraman <[email protected]>
Date: Wed, 9 Dec 2009 23:22:41 +0530
Subject: [PATCH] Don't use immediate resizing mode on container
---
examples/Shapes.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/Shapes.py b/examples/Shapes.py
index 6cd0f53..69a7cdc 100644
--- a/examples/Shapes.py
+++ b/examples/Shapes.py
@@ -238,8 +238,8 @@ class ShapesWindow(gtk.Window):
self.set_title('Shapes')
self.set_position(gtk.WIN_POS_CENTER_ALWAYS)
self.connect('destroy', lambda quit: gtk.main_quit())
- if sys.platform != 'win32':
- self.set_resize_mode(gtk.RESIZE_IMMEDIATE)
+# if sys.platform != 'win32':
+# self.set_resize_mode(gtk.RESIZE_IMMEDIATE)
self.set_reallocate_redraws(True)
# Create the table that will hold everything.
--
1.6.5.2
_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list