diff options
Diffstat (limited to 'x11-fm/nautilus/files/patch-libnautilus-private::nautilus-monitor.c.orig')
-rw-r--r-- | x11-fm/nautilus/files/patch-libnautilus-private::nautilus-monitor.c.orig | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-monitor.c.orig b/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-monitor.c.orig new file mode 100644 index 000000000..cc13fe51a --- /dev/null +++ b/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-monitor.c.orig @@ -0,0 +1,25 @@ + +$FreeBSD: ports/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-monitor.c,v 1.2 2002/05/20 18:03:39 sobomax Exp $ + +--- libnautilus-private/nautilus-monitor.c 2001/12/07 22:54:34 1.1 ++++ libnautilus-private/nautilus-monitor.c 2001/12/07 23:10:06 +@@ -274,7 +274,8 @@ + } + + monitor = g_new0 (NautilusMonitor, 1); +- FAMMonitorFile (connection, path, &monitor->request, NULL); ++ if (FAMMonitorFile (connection, path, &monitor->request, NULL) == -1) ++ return NULL; + + g_free (path); + +@@ -314,7 +315,8 @@ + } + + monitor = g_new0 (NautilusMonitor, 1); +- FAMMonitorDirectory (connection, path, &monitor->request, NULL); ++ if (FAMMonitorDirectory (connection, path, &monitor->request, NULL) == -1) ++ return NULL; + + g_assert (g_hash_table_lookup (get_request_hash_table (), + GINT_TO_POINTER (FAMREQUEST_GETREQNUM (&monitor->request))) == NULL); |