[vala] gtk+-3.0: set Editable type_cname
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: set Editable type_cname
- Date: Wed, 11 Jun 2014 05:03:18 +0000 (UTC)
commit e0c54fdaad3c538fe0af1087717ad699f0375c5f
Author: Evan Nemerson <evan nemerson com>
Date: Tue Jun 10 22:01:13 2014 -0700
gtk+-3.0: set Editable type_cname
Fixes bug 731499.
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index b57040c..c62e4bd 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -7080,7 +7080,7 @@ namespace Gtk {
public bool use_alpha { get; set; }
public signal void color_activated (Gdk.RGBA color);
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface")]
public interface Editable {
public void copy_clipboard ();
public void cut_clipboard ();
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 336a841..3303908 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
@@ -81,6 +81,7 @@ namespace Gtk {
public virtual void get_preferred_height_for_width_internal (int width, out int
minimum_height, out int natural_height);
}
+ [CCode (type_cname = "GtkEditableInterface")]
public interface Editable {
[CCode (vfunc_name = "set_selection_bounds")]
public abstract void select_region (int start_pos, int end_pos);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]