]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
express dependency on GTK+ remove internal classes, fix header file
authorMathias Hasselmann <mathias.hasselmann@gmx.de>
Wed, 8 Aug 2007 14:31:33 +0000 (14:31 +0000)
committerMathias Hasselmann <hasselmm@src.gnome.org>
Wed, 8 Aug 2007 14:31:33 +0000 (14:31 +0000)
2007-08-08  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/gtksourceview-2.0.deps: express dependency on GTK+
* vapi/gtksourceview-2.0.vala: remove internal classes,
fix header file annoations
* vapi/Makefile.am: install gtksourceview bindings

svn path=/trunk/; revision=444

ChangeLog
vapi/Makefile.am
vapi/gtksourceview-2.0.deps [new file with mode: 0644]
vapi/gtksourceview-2.0.vala

index cfc1033edfb22b5efba293a5588392c1626d8768..c37f8bab9b161697e7215a7e5e477f14e1c3bbde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-08  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
+
+       * vapi/gtksourceview-2.0.deps: express dependency on GTK+
+       * vapi/gtksourceview-2.0.vala: remove internal classes,
+       fix header file annoations
+       * vapi/Makefile.am: install gtksourceview bindings
+
 2007-08-08  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
 
        * vapi/glib-2.0.vala: MatchInfo.fetch_named transfers ownership
index 3977caa8ea8b14473d87c2e345fd80d0755c7a89..622c8949ae71d78d835d6e4099a787cc059365e4 100644 (file)
@@ -19,6 +19,8 @@ dist_vapi_DATA = \
        gtk+-2.0.vala \
        gtkmozembed.deps \
        gtkmozembed.vala \
+       gtksourceview-2.0.deps \
+       gtksourceview-2.0.vala \
        hal.deps \
        hal.vala \
        hildon-1.deps \
diff --git a/vapi/gtksourceview-2.0.deps b/vapi/gtksourceview-2.0.deps
new file mode 100644 (file)
index 0000000..24a2237
--- /dev/null
@@ -0,0 +1 @@
+gtk+-2.0
index aaf5b8657b89652d75afb955a8130c99fe16fc5b..90144a1aa3d806beeb922ffba5ca40f68aab4ec0 100644 (file)
@@ -1,21 +1,6 @@
 [CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")]
 namespace Gtk {
-       [CCode (cprefix = "GTK_SOURCE_CONTEXT_", cheader_filename = "gtksourceview/gtksourceview.h")]
-       public enum SourceContextFlags {
-               EXTEND_PARENT,
-               END_PARENT,
-               END_AT_LINE_END,
-               FIRST_LINE_ONLY,
-               ONCE_ONLY,
-               STYLE_INSIDE,
-       }
-       [CCode (cprefix = "GTK_SOURCE_CONTEXT_", cheader_filename = "gtksourceview/gtksourceview.h")]
-       public enum SourceContextRefOptions {
-               IGNORE_STYLE,
-               OVERRIDE_STYLE,
-               REF_ORIGINAL,
-       }
-       [CCode (cprefix = "GTK_SOURCE_SEARCH_", cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cprefix = "GTK_SOURCE_SEARCH_", cheader_filename = "gtksourceview/gtksourceiter.h")]
        public enum SourceSearchFlags {
                VISIBLE_ONLY,
                TEXT_ONLY,
@@ -28,7 +13,7 @@ namespace Gtk {
                AFTER,
                ALWAYS,
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcebuffer.h")]
        public class SourceBuffer : Gtk.TextBuffer {
                public void begin_not_undoable_action ();
                public weak Gtk.SourceMarker create_marker (string name, string type, out Gtk.TextIter where);
@@ -67,13 +52,7 @@ namespace Gtk {
                public weak bool can_redo { get; }
                public weak Gtk.SourceStyleScheme style_scheme { get; set; }
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public class SourceContextEngine : Gtk.SourceEngine {
-       }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public class SourceEngine : GLib.Object {
-       }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcelanguage.h")]
        public class SourceLanguage : GLib.Object {
                public weak string get_globs ();
                public weak string get_id ();
@@ -83,7 +62,7 @@ namespace Gtk {
                public weak string get_section ();
                public static GLib.Type get_type ();
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcelanguagemanager.h")]
        public class SourceLanguageManager : GLib.Object {
                public static weak Gtk.SourceLanguageManager get_default ();
                public weak Gtk.SourceLanguage get_language_by_id (string id);
@@ -94,7 +73,7 @@ namespace Gtk {
                public void set_search_path (string dirs);
                public weak string[] search_path { get; set; }
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcemarker.h")]
        public class SourceMarker : GLib.Object {
                public pointer get_buffer ();
                public int get_line ();
@@ -105,7 +84,7 @@ namespace Gtk {
                public weak Gtk.SourceMarker prev ();
                public void set_marker_type (string type);
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcestyle.h")]
        public class SourceStyle : GLib.Object {
                public weak Gtk.SourceStyle copy ();
                public static GLib.Type get_type ();
@@ -134,7 +113,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public weak bool strikethrough_set { get; construct; }
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcestylemanager.h")]
        public class SourceStyleManager : GLib.Object {
                public bool add_scheme (string filename);
                public static weak Gtk.SourceStyleManager get_default ();
@@ -147,7 +126,7 @@ namespace Gtk {
                public weak string[] search_path { get; set; }
                public signal void changed ();
        }
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+       [CCode (cheader_filename = "gtksourceview/gtksourcestylescheme.h")]
        public class SourceStyleScheme : GLib.Object {
                public bool get_current_line_color (Gdk.Color color);
                public weak string get_id ();
@@ -200,39 +179,4 @@ namespace Gtk {
                public signal void undo ();
                public signal void redo ();
        }
-       [ReferenceType]
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public struct SourceContextData {
-       }
-       [ReferenceType]
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public struct SourceContextReplace {
-       }
-       [ReferenceType]
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public struct TextRegion {
-               public void add (out Gtk.TextIter _start, out Gtk.TextIter _end);
-               public void debug_print ();
-               public void destroy (bool delete_marks);
-               public weak Gtk.TextBuffer get_buffer ();
-               public void get_iterator (Gtk.TextRegionIterator iter, uint start);
-               public weak Gtk.TextRegion intersect (out Gtk.TextIter _start, out Gtk.TextIter _end);
-               public TextRegion (Gtk.TextBuffer buffer);
-               public bool nth_subregion (uint subregion, out Gtk.TextIter start, out Gtk.TextIter end);
-               public int subregions ();
-               public void subtract (out Gtk.TextIter _start, out Gtk.TextIter _end);
-       }
-       [ReferenceType]
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public struct TextRegionIterator {
-               public void get_subregion (out Gtk.TextIter start, out Gtk.TextIter end);
-               public bool is_end ();
-               public bool next ();
-       }
-       [ReferenceType]
-       [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
-       public struct Source {
-               public static bool iter_backward_search (out Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out Gtk.TextIter limit);
-               public static bool iter_forward_search (out Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out Gtk.TextIter limit);
-       }
 }