summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-06-07 18:42:46 -0700
committerJürg Billeter <j@bitron.ch>2012-06-23 17:32:58 +0200
commit878823b9838ec6e305441442cc981c2c0b890934 (patch)
tree21b7bb6f5f8bca975e9d2a4026a76ea248a17508
parent60649dad508248f09e3a64e785f2727ab320cff2 (diff)
downloadvala-878823b9838ec6e305441442cc981c2c0b890934.tar.gz
gtk+-2.0, gtk+-3.0: include necessary headers for IMContext(Info) types
Fixes bug 635664.
-rw-r--r--vapi/gtk+-2.0.vapi4
-rw-r--r--vapi/gtk+-3.0.vapi4
-rw-r--r--vapi/packages/gtk+-2.0/gtk+-2.0.metadata3
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0.metadata3
4 files changed, 8 insertions, 6 deletions
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 5ffcb5190..3d2cda979 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1967,7 +1967,7 @@ namespace Gtk {
public bool snap_edge_set { get; set; }
public virtual signal void child_attached (Gtk.Widget child);
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
public class IMContext : GLib.Object {
[CCode (has_construct_function = false)]
protected IMContext ();
@@ -6267,7 +6267,7 @@ namespace Gtk {
public int width;
public int height;
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
public struct IMContextInfo {
public weak string context_id;
public weak string context_name;
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 4c36a5a80..315ba1cfc 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2119,7 +2119,7 @@ namespace Gtk {
public bool snap_edge_set { get; set; }
public virtual signal void child_attached (Gtk.Widget child);
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
public class IMContext : GLib.Object {
[CCode (has_construct_function = false)]
protected IMContext ();
@@ -6358,7 +6358,7 @@ namespace Gtk {
public int16 top;
public int16 bottom;
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
public struct IMContextInfo {
public weak string context_id;
public weak string context_name;
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 037c109fe..e0ea08e88 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -269,13 +269,14 @@ gtk_image_get_stock.size is_out="1"
gtk_image_menu_item_new_from_stock.accel_group nullable="1"
gtk_image_set_from_pixmap.pixmap nullable="1"
gtk_image_set_from_pixmap.mask nullable="1"
+GtkIMContext cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h"
GtkIMContext::delete_surrounding has_emitter="1"
gtk_im_context_get_preedit_string.str is_out="1"
gtk_im_context_get_preedit_string.attrs transfer_ownership="1"
gtk_im_context_get_preedit_string.cursor_pos is_out="1"
gtk_im_context_get_surrounding.text is_out="1"
gtk_im_context_get_surrounding.cursor_index is_out="1"
-GtkIMContextInfo is_value_type="1"
+GtkIMContextInfo is_value_type="1" cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h"
gtk_init.argc hidden="1"
gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
gtk_init_add.data hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index c16f646fc..1b212edb9 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -323,13 +323,14 @@ gtk_image_get_stock.size is_out="1"
gtk_image_menu_item_new_from_stock.accel_group nullable="1"
gtk_image_set_from_pixmap.pixmap nullable="1"
gtk_image_set_from_pixmap.mask nullable="1"
+GtkIMContext cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h"
GtkIMContext::delete_surrounding has_emitter="1"
gtk_im_context_get_preedit_string.str is_out="1"
gtk_im_context_get_preedit_string.attrs transfer_ownership="1"
gtk_im_context_get_preedit_string.cursor_pos is_out="1"
gtk_im_context_get_surrounding.text is_out="1"
gtk_im_context_get_surrounding.cursor_index is_out="1"
-GtkIMContextInfo is_value_type="1"
+GtkIMContextInfo is_value_type="1" cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h"
gtk_init.argc hidden="1"
gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
gtk_init_add.data hidden="1"