[PATCH] gtk 2.4.10 compile failure on Solaris

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

 



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@xxxxxxxxxxx>
Center for Information Technology Services, University of Oslo

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux