[vala] gtk+-2.0, gtk+-3.0: Add bindings for TREE_SORTABLE_*_SORT_COLUMN_ID
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Add bindings for TREE_SORTABLE_*_SORT_COLUMN_ID
- Date: Sun, 26 Jun 2011 17:49:55 +0000 (UTC)
commit 1bb62e9f393a7a72fd83787e41c3ab892450ed61
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Jun 26 19:46:56 2011 +0200
gtk+-2.0, gtk+-3.0: Add bindings for TREE_SORTABLE_*_SORT_COLUMN_ID
Fixes bug 653379.
vapi/gtk+-2.0.vapi | 7 +++++++
vapi/gtk+-3.0.vapi | 7 +++++++
vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala | 8 ++++++++
vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala | 8 ++++++++
4 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 3f77270..110b19b 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -7172,6 +7172,13 @@ namespace Gtk {
VERTICAL,
BOTH
}
+ [CCode (cprefix = "GTK_SORT_COLUMN_", cname = "gint", cheader_filename = "gtk/gtk.h")]
+ public enum SortColumn {
+ [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
+ DEFAULT,
+ [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
+ UNSORTED
+ }
[CCode (cprefix = "GTK_SORT_", cheader_filename = "gtk/gtk.h")]
public enum SortType {
ASCENDING,
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index fded0f7..93f83c0 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6890,6 +6890,13 @@ namespace Gtk {
HEIGHT_FOR_WIDTH,
WIDTH_FOR_HEIGHT
}
+ [CCode (cprefix = "GTK_SORT_COLUMN_", cname = "gint", cheader_filename = "gtk/gtk.h")]
+ public enum SortColumn {
+ [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
+ DEFAULT,
+ [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
+ UNSORTED
+ }
[CCode (cprefix = "GTK_SORT_", cheader_filename = "gtk/gtk.h")]
public enum SortType {
ASCENDING,
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
index cf494bc..e9ae8c1 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
@@ -103,6 +103,14 @@ namespace Gtk {
public GLib.SList<GLib.File> get_files ();
}
+ [CCode (cname = "gint")]
+ public enum SortColumn {
+ [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
+ DEFAULT,
+ [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
+ UNSORTED
+ }
+
[CCode (has_target = false)]
public delegate void CallbackMarshal (Object object, void* data, Arg[] args);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
index 8ebe53b..9bd6a8b 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
@@ -68,6 +68,14 @@ namespace Gtk {
public GLib.SList<GLib.File> get_files ();
}
+ [CCode (cname = "gint")]
+ public enum SortColumn {
+ [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
+ DEFAULT,
+ [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
+ UNSORTED
+ }
+
public delegate void ActionCallback (Action action);
public delegate void MenuPositionFunc (Gtk.Menu menu, out int x, out int y, out bool push_in);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]