summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch')
-rw-r--r--x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch b/x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch
new file mode 100644
index 0000000..a26ba91
--- /dev/null
+++ b/x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch
@@ -0,0 +1,12 @@
+--- src/tilda_window.c 2008-01-17 23:07:39.000000000 +0100
++++ src/tilda_window.c 2010-03-19 22:30:31.000000000 +0100
+@@ -427,6 +427,9 @@
+ gtk_window_move (GTK_WINDOW(tw->window), config_getint ("x_pos"), config_getint ("y_pos"));
+ gtk_window_set_default_size (GTK_WINDOW(tw->window), config_getint ("max_width"), config_getint ("max_height"));
+ gtk_window_resize (GTK_WINDOW(tw->window), config_getint ("max_width"), config_getint ("max_height"));
++ /* Create GDK resources now, to prevent crashes later on */
++ gtk_widget_realize (tw->window);
++
+ generate_animation_positions (tw);
+
+ return tw;