From d4b5fc5289d488372394032d3bf89136bd95e5b1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 14 Dec 2009 13:33:12 +0000 Subject: [PATCH] Add F12 changes --- property-get.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 property-get.patch diff --git a/property-get.patch b/property-get.patch new file mode 100644 index 0000000..adcc5b1 --- /dev/null +++ b/property-get.patch @@ -0,0 +1,24 @@ +diff -up file-roller-2.28.1/src/fr-window.c.property-get file-roller-2.28.1/src/fr-window.c +--- file-roller-2.28.1/src/fr-window.c.property-get 2009-12-14 00:59:59.792797354 -0500 ++++ file-roller-2.28.1/src/fr-window.c 2009-12-14 01:01:49.141546600 -0500 +@@ -4138,13 +4138,14 @@ get_xds_atom_value (GdkDragContext *cont + g_return_val_if_fail (context != NULL, NULL); + g_return_val_if_fail (context->source_window != NULL, NULL); + +- gdk_property_get (context->source_window, +- XDS_ATOM, TEXT_ATOM, +- 0, MAX_XDS_ATOM_VAL_LEN, +- FALSE, NULL, NULL, NULL, +- (unsigned char **) &ret); ++ if (gdk_property_get (context->source_window, ++ XDS_ATOM, TEXT_ATOM, ++ 0, MAX_XDS_ATOM_VAL_LEN, ++ FALSE, NULL, NULL, NULL, ++ (unsigned char **) &ret)) ++ return ret; + +- return ret; ++ return NULL; + } + +