I was able to fix the FTBFS issues by backporting some minor changes
from version 0.12 (see attached patch).

But I highly recommend updating to version 0.12.

Tobias

--- gtksourceview-sharp2-0.11.orig/gtksourceview/SourcePrintJob.custom
+++ gtksourceview-sharp2-0.11/gtksourceview/SourcePrintJob.custom
@@ -0,0 +1,28 @@
+// SourcePrintJob.custom - Gtk SourcePrintJob class customizations
+//
+// Author: Mike Kestner ([EMAIL PROTECTED])
+//
+// Copyright (C) 2007 Novell, Inc.
+//
+// This code is inserted after the automatically generated code.
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of version 2 of the Lesser GNU General 
+// Public License as published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program; if not, write to the
+// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+               [Obsolete ("Replaced by SetupFromView")]
+               public GtkSourceView.SourceView upFromView { 
+                       set {
+                               gtk_source_print_job_setup_from_view(Handle, 
value == null ? IntPtr.Zero : value.Handle);
+                       }
+               }
--- gtksourceview-sharp2-0.11.orig/gtksourceview/SourceStyleSchemeAdapter.custom
+++ gtksourceview-sharp2-0.11/gtksourceview/SourceStyleSchemeAdapter.custom
@@ -0,0 +1,9 @@
+
+               [DllImport ("libgtksourceview-1.0")]
+               static extern IntPtr gtk_source_style_scheme_get_style_names 
(IntPtr handle);
+
+               public string[] StyleNames {
+                        get {
+                               return (string[]) GLib.Marshaller.ListToArray 
(new GLib.SList (gtk_source_style_scheme_get_style_names (Handle), 
typeof(string), false, false), typeof (string));
+                       }
+                }

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to