diff options
Diffstat (limited to 'abs/extra-testing/gtk2/gtkclipboard-check.patch')
-rw-r--r-- | abs/extra-testing/gtk2/gtkclipboard-check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra-testing/gtk2/gtkclipboard-check.patch b/abs/extra-testing/gtk2/gtkclipboard-check.patch new file mode 100644 index 0000000..48894fb --- /dev/null +++ b/abs/extra-testing/gtk2/gtkclipboard-check.patch @@ -0,0 +1,11 @@ +--- gtk+-2.11.6/gtk/gtkclipboard.c.orig 2007-08-18 13:48:22.000000000 +0000 ++++ gtk+-2.11.6/gtk/gtkclipboard.c 2007-08-18 13:49:08.000000000 +0000 +@@ -287,6 +287,8 @@ + gtk_clipboard_get_for_display (GdkDisplay *display, + GdkAtom selection) + { ++ if (display == NULL) ++ return NULL; + g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL); + g_return_val_if_fail (!display->closed, NULL); + |