[PATCH] gtk 2.4.10 compile failure on Solaris



Without the patch below Solaris' C compiler will fail, complaining
that "Void function cannot return a value".

(I used "Sun WorkShop 6 update 2 C 5.3 2001/05/15" on Solaris 8)

---------------------------> CUT <------------------------------
--- src-2.4.10/gtk/gtkfilechooserdefault.c      2004-09-17 21:56:21.000000000 +0200
+++ src-2.4.10-local/gtk/gtkfilechooserdefault.c        2004-09-28 10:38:57.000000000 +0200
@@ -5060,7 +5060,7 @@
                      -1);
 
   if (!col_data)
-    return FALSE; /* We are on a separator */
+    return; /* We are on a separator */
 
   if (is_volume)
     {
---------------------------> CUT <------------------------------

Regards,

-- 
Trond Hasle Amundsen <t h amundsen usit uio no>
Center for Information Technology Services, University of Oslo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]