[Gtkradiant] r4796 - in GtkRadiant/trunk: plugins/entity radiant

svn-noreply at zerowing.idsoftware.com svn-noreply at zerowing.idsoftware.com
Thu Sep 23 14:37:00 CDT 2004


Author: spog
Date: 2004-09-23 14:36:54 -0500 (Thu, 23 Sep 2004)
New Revision: 4796

Modified:
   GtkRadiant/trunk/plugins/entity/static.cpp
   GtkRadiant/trunk/radiant/gtkmisc.cpp
Log:
linux build fixes

Modified: GtkRadiant/trunk/plugins/entity/static.cpp
===================================================================
--- GtkRadiant/trunk/plugins/entity/static.cpp	2004-09-21 23:00:19 UTC (rev 4795)
+++ GtkRadiant/trunk/plugins/entity/static.cpp	2004-09-23 19:36:54 UTC (rev 4796)
@@ -228,7 +228,7 @@
       m_renderCurve.m_vertices.clear();
     }
   }
-  typedef MemberCaller1<NURBSCurve, const char*>::Caller<NURBSCurve::curveChanged> CurveChangedCaller;
+  typedef MemberCaller1<NURBSCurve, const char*>::Caller<&NURBSCurve::curveChanged> CurveChangedCaller;
 };
 
 class CatmullRomSpline
@@ -293,7 +293,7 @@
       m_renderCurve.m_vertices.clear();
     }
   }
-  typedef MemberCaller1<CatmullRomSpline, const char*>::Caller<CatmullRomSpline::curveChanged> CurveChangedCaller;
+  typedef MemberCaller1<CatmullRomSpline, const char*>::Caller<&CatmullRomSpline::curveChanged> CurveChangedCaller;
 };
 
 class FuncStatic : public Editable

Modified: GtkRadiant/trunk/radiant/gtkmisc.cpp
===================================================================
--- GtkRadiant/trunk/radiant/gtkmisc.cpp	2004-09-21 23:00:19 UTC (rev 4795)
+++ GtkRadiant/trunk/radiant/gtkmisc.cpp	2004-09-23 19:36:54 UTC (rev 4796)
@@ -2173,9 +2173,12 @@
 {
   for(;;)
   {
-    const char* file = g_layout_globals.m_bNativeGUI
-      ? file_dialog_show_win32(parent, open, title, path, pattern)
-      : file_dialog_show(parent, open, title, path, pattern);
+    const char* file =
+#ifdef WIN32
+	                g_layout_globals.m_bNativeGUI
+      ? file_dialog_show_win32(parent, open, title, path, pattern) :
+#endif
+        file_dialog_show(parent, open, title, path, pattern);
 
     if(open
       || !file_exists(file)




More information about the Gtkradiant mailing list