Commit b45f7843 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

mark GtkTargetEntry as value-type

2007-11-25  Juerg Billeter  <j@bitron.ch>

	* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: mark GtkTargetEntry as
	  value-type

	* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=718
parent e4461dcc
2007-11-25 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: mark GtkTargetEntry as
value-type
* vapi/gtk+-2.0.vapi: regenerated
2007-11-24 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: fix is_out support for parameters
......
......@@ -1592,12 +1592,6 @@ namespace Gtk {
public uint empty;
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class TargetEntry {
public weak string target;
public uint flags;
public uint info;
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class TargetPair {
public Gdk.Atom target;
public uint flags;
......@@ -1822,11 +1816,13 @@ namespace Gtk {
public void add (Gdk.Atom target, uint flags, uint info);
public void add_image_targets (uint info, bool writable);
public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
public void add_table (Gtk.TargetEntry targets, uint ntargets);
[NoArrayLength]
public void add_table (Gtk.TargetEntry[] targets, uint ntargets);
public void add_text_targets (uint info);
public void add_uri_targets (uint info);
public bool find (Gdk.Atom target, uint info);
public TargetList (Gtk.TargetEntry targets, uint ntargets);
[NoArrayLength]
public TargetList (Gtk.TargetEntry[] targets, uint ntargets);
public void remove (Gdk.Atom target);
}
[CCode (ref_function = "gtk_text_attributes_ref", unref_function = "gtk_text_attributes_unref", cheader_filename = "gtk/gtk.h")]
......@@ -6875,6 +6871,12 @@ namespace Gtk {
public int value;
}
[CCode (cheader_filename = "gtk/gtk.h")]
public struct TargetEntry {
public weak string target;
public uint flags;
public uint info;
}
[CCode (cheader_filename = "gtk/gtk.h")]
public struct ToggleActionEntry {
public weak string name;
public weak string stock_id;
......@@ -7427,7 +7429,8 @@ namespace Gtk {
public static weak GLib.Scanner rc_scanner_new ();
public static void rc_set_default_files (string filenames);
public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, Gtk.TargetEntry targets, uint ntargets);
[NoArrayLength]
public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, Gtk.TargetEntry[] targets, uint ntargets);
public static bool selection_clear (Gtk.Widget widget, Gdk.EventSelection event);
public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint time_);
......@@ -7456,7 +7459,7 @@ namespace Gtk {
public static void stock_set_translate_func (string domain, Gtk.TranslateFunc func, pointer data, Gtk.DestroyNotify notify);
[NoArrayLength]
public static void target_table_free (Gtk.TargetEntry[] targets, int n_targets);
public static weak Gtk.TargetEntry target_table_new_from_list (Gtk.TargetList list, int n_targets);
public static Gtk.TargetEntry target_table_new_from_list (Gtk.TargetList list, int n_targets);
[NoArrayLength]
public static bool targets_include_image (Gdk.Atom[] targets, int n_targets, bool writable);
[NoArrayLength]
......
......@@ -80,6 +80,7 @@ GtkRadioActionEntry is_value_type="1"
GtkRequisition is_value_type="1"
gtk_scale_button_new.icons is_array="1"
gtk_scale_button_set_icons.icons is_array="1"
gtk_selection_add_targets.targets is_array="1"
gtk_show_about_dialog ellipsis="1"
GtkStyle.fg weak="0" is_array="1"
GtkStyle.bg weak="0" is_array="1"
......@@ -98,6 +99,9 @@ GtkStyle.text_gc weak="0" is_array="1"
GtkStyle.base_gc weak="0" is_array="1"
GtkStyle.text_aa_gc weak="0" is_array="1"
GtkStyle.bg_pixmap weak="0" is_array="1"
GtkTargetEntry is_value_type="1"
gtk_target_list_add_table.targets is_array="1"
gtk_target_list_new.targets is_array="1"
GtkTextBuffer::apply_tag has_emitter="1"
GtkTextBuffer::begin_user_action has_emitter="1"
GtkTextBuffer::end_user_action has_emitter="1"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment