summaryrefslogtreecommitdiffstats
path: root/main/claws-mail/startup-notification-segfault.patch
blob: ef36e42fae6d23778548d5a8677dd7002408b0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: src/main.c
===================================================================
RCS file: //claws/src/main.c,v
retrieving revision 1.115.2.237
retrieving revision 1.115.2.238
diff -u -r1.115.2.237 -r1.115.2.238
--- ./src/main.c	10 Apr 2011 17:19:04 -0000	1.115.2.237
+++ ./src/main.c	30 Apr 2011 19:27:15 -0000	1.115.2.238
@@ -331,7 +331,7 @@
 		gtk_widget_show(hack);
 	}
 
-	xdisplay = gdk_display_get_default();
+	xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default());
 	sn_display = sn_display_new(xdisplay,
 				sn_error_trap_push,
 				sn_error_trap_pop);