Author: mkestner
Date: 2007-12-03 13:17:47 -0500 (Mon, 03 Dec 2007)
New Revision: 90573
Added:
branches/gtksourceview-sharp-0.x/gtksourceview/SourcePrintJob.custom
Modified:
branches/gtksourceview-sharp-0.x/ChangeLog
branches/gtksourceview-sharp-0.x/gtksourceview/Gtk.metadata
branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am
Log:
2007-12-03 Mike Kestner <[EMAIL PROTECTED]>
* gtksourceview/Gtk.metadata: hide SourcePrintJob.SetupFromView.
* gtksourceview/Makefile.am: dependencies for fixup and new custom.
* gtksourceview/SourcePrintJob.custom: obsolete compat member
and SetupFromView manual impl for new generator versions.
Modified: branches/gtksourceview-sharp-0.x/ChangeLog
===================================================================
--- branches/gtksourceview-sharp-0.x/ChangeLog 2007-12-03 18:07:36 UTC (rev
90572)
+++ branches/gtksourceview-sharp-0.x/ChangeLog 2007-12-03 18:17:47 UTC (rev
90573)
@@ -1,3 +1,10 @@
+2007-12-03 Mike Kestner <[EMAIL PROTECTED]>
+
+ * gtksourceview/Gtk.metadata: hide SourcePrintJob.SetupFromView.
+ * gtksourceview/Makefile.am: dependencies for fixup and new custom.
+ * gtksourceview/SourcePrintJob.custom: obsolete compat member
+ and SetupFromView manual impl for new generator versions.
+
2007-11-08 Mike Kestner <[EMAIL PROTECTED]>
* gtksourceview/SourceStyleSchemeAdapter.custom: new custom
Modified: branches/gtksourceview-sharp-0.x/gtksourceview/Gtk.metadata
===================================================================
--- branches/gtksourceview-sharp-0.x/gtksourceview/Gtk.metadata 2007-12-03
18:07:36 UTC (rev 90572)
+++ branches/gtksourceview-sharp-0.x/gtksourceview/Gtk.metadata 2007-12-03
18:17:47 UTC (rev 90573)
@@ -13,6 +13,7 @@
<attr path="/api/namespace/[EMAIL PROTECTED]'GtkSourceLanguage']/[EMAIL
PROTECTED]'SetMimeTypes']" name="hidden">1</attr>
<attr path="/api/namespace/[EMAIL PROTECTED]'GtkSourceLanguage']/[EMAIL
PROTECTED]'GetTags']" name="hidden">1</attr>
<attr path="/api/namespace/[EMAIL
PROTECTED]'GtkSourceLanguagesManager']/[EMAIL
PROTECTED]'GetAvailableLanguages']" name="hidden">1</attr>
+ <attr path="/api/namespace/[EMAIL PROTECTED]'GtkSourcePrintJob']/[EMAIL
PROTECTED]'SetupFromView']" name="hidden">1</attr>
<attr path="/api/namespace/[EMAIL PROTECTED]'GtkSourceStyleScheme']/[EMAIL
PROTECTED]'GetStyleNames']" name="hidden">1</attr>
<attr path="/api/namespace/[EMAIL PROTECTED]'GtkSourceTagTable']/[EMAIL
PROTECTED]'AddTags']" name="hidden">1</attr>
<attr path="/api/namespace/[EMAIL PROTECTED]'Global']/[EMAIL
PROTECTED]'KeywordListTagNew']" name="hidden">1</attr>
Modified: branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am
===================================================================
--- branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am 2007-12-03
18:07:36 UTC (rev 90572)
+++ branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am 2007-12-03
18:17:47 UTC (rev 90573)
@@ -15,7 +15,7 @@
all: $(LIBRARY)
-gtksourceview-api.xml:
+gtksourceview-api.xml: gtksourceview-api.raw Gtk.metadata
cp $(srcdir)/gtksourceview-api.raw gtksourceview-api.xml
chmod u+w gtksourceview-api.xml
$(GAPI_FIXUP) --api=gtksourceview-api.xml
--metadata=$(srcdir)/Gtk.metadata
@@ -34,6 +34,7 @@
SourceBuffer.custom \
SourceLanguage.custom \
SourceLanguagesManager.custom \
+SourcePrintJob.custom \
SourceStyleScheme.custom \
SourceStyleSchemeAdapter.custom \
SourceTagTable.custom
Added: branches/gtksourceview-sharp-0.x/gtksourceview/SourcePrintJob.custom
===================================================================
--- branches/gtksourceview-sharp-0.x/gtksourceview/SourcePrintJob.custom
2007-12-03 18:07:36 UTC (rev 90572)
+++ branches/gtksourceview-sharp-0.x/gtksourceview/SourcePrintJob.custom
2007-12-03 18:17:47 UTC (rev 90573)
@@ -0,0 +1,36 @@
+// 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);
+ }
+ }
+
+ [DllImport("gtksourceview-1.0")]
+ static extern void gtk_source_print_job_setup_from_view(IntPtr
raw, IntPtr view);
+
+ public void SetupFromView(GtkSourceView.SourceView view)
+ {
+ gtk_source_print_job_setup_from_view(Handle, view ==
null ? IntPtr.Zero : view.Handle);
+ }
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches