summaryrefslogtreecommitdiff
path: root/source/l/gtk+2/gtk.nsplugin.diff
blob: 3e0932dec0f87f685b9de4bb51b80a295f05b04c (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur gtk+-2.14.6.orig/gtk/gtkclipboard.c gtk+-2.14.6/gtk/gtkclipboard.c
--- gtk+-2.14.6.orig/gtk/gtkclipboard.c	2008-12-15 12:38:44.000000000 -0600
+++ gtk+-2.14.6/gtk/gtkclipboard.c	2008-12-16 21:33:21.079854023 -0600
@@ -299,6 +299,7 @@
 gtk_clipboard_get_for_display (GdkDisplay *display, 
 			       GdkAtom     selection)
 {
+  g_return_val_if_fail (display != NULL, NULL);
   g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
   g_return_val_if_fail (!display->closed, NULL);