Re: 0.4.4 compile error: FSpot.Widgets.dll



sorry about this, apply the attached patch, it'll compile fine.

s


On Thu, 2008-06-05 at 17:15 -0400, crue wrote:
> Has anyone run into the issue below?  The base system is SLED10 with the
> mono-1.9.1-2
> 
> *** Compiling FSpot.Widgets.dll
> gmcs -debug -target:library -out:FSpot.Widgets.dll -d:TEST_METADATA
> -d:BROKEN_RSVG
> -d:CAIRO_1_2_5 ./Widgets/ComplexMenuItem.cs ./Widgets/CustomPrintWidget.cs ./Widgets/HighlightedBox.cs ./Widgets/Rating.cs ./Widgets/SaneTreeView.cs ./Widgets/ScrolledView.cs ./Widgets/TagView.cs -pkg:gtk-sharp-2.0 -pkg:gnome-sharp-2.0 -r:Mono.Posix -r:FSpot.Core.dll -r:FSpot.Utils.dll
> ./Widgets/CustomPrintWidget.cs(36,17): error CS0246: The type or
> namespace name `PrintOperation' could not be found. Are you missing a
> using directive or an assembly reference?
> ./Widgets/CustomPrintWidget.cs(90,43): error CS0246: The type or
> namespace name `PrintOperation' could not be found. Are you missing a
> using directive or an assembly reference?
> 
> Thanks,
>  Crue
> 
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list
> 
Index: src/Widgets/CustomPrintWidget.cs
===================================================================
--- src/Widgets/CustomPrintWidget.cs	(revision 4049)
+++ src/Widgets/CustomPrintWidget.cs	(working copy)
@@ -14,6 +14,7 @@
 
 namespace FSpot.Widgets
 {
+#if GTK_2_10
 	public class CustomPrintWidget : VBox
 	{
 		public delegate void ChangedHandler (Gtk.Widget widget);
@@ -155,4 +156,5 @@
 			TriggerChanged (this, null);
 		}
 	}
+#endif
 }


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