From: Jürg Billeter Date: Tue, 22 Jul 2008 19:32:57 +0000 (+0000) Subject: Add binding for g_object_set_property X-Git-Tag: VALA_0_3_5~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f457d078a22d0ef42935b6042c9d2e827b77ce91;p=thirdparty%2Fvala.git Add binding for g_object_set_property 2008-07-22 Jürg Billeter * vapi/glib-2.0.vapi: Add binding for g_object_set_property * vapi/packages/gdk-2.0/: * vapi/packages/gtk+-2.0/: Various out and nullable fixes, patch by Frederik, fixes bug 544189 * vapi/gdk-2.0.vapi: * vapi/gtk+-2.0.vapi: Regenerated svn path=/trunk/; revision=1725 --- diff --git a/ChangeLog b/ChangeLog index 59513dbcb..5ff6950ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2008-07-22 Jürg Billeter + + * vapi/glib-2.0.vapi: + + Add binding for g_object_set_property + + * vapi/packages/gdk-2.0/: + * vapi/packages/gtk+-2.0/: + + Various out and nullable fixes, patch by Frederik, fixes bug 544189 + + * vapi/gdk-2.0.vapi: + * vapi/gtk+-2.0.vapi: + + Regenerated + 2008-07-22 Jürg Billeter * vapi/packages/gstreamer-0.10/: diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi index 76f7c337a..c8c5b02dd 100644 --- a/vapi/gdk-2.0.vapi +++ b/vapi/gdk-2.0.vapi @@ -1,4 +1,4 @@ -/* gdk-2.0.vapi generated by vapigen, do not modify. */ +/* gdk-2.0.vapi generated by lt-vapigen, do not modify. */ [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")] namespace Gdk { @@ -948,7 +948,7 @@ namespace Gdk { [CCode (cheader_filename = "gdk/gdk.h")] public class Window : Gdk.Drawable { public void add_filter (Gdk.FilterFunc function, void* data); - public static weak Gdk.Window at_pointer (int win_x, int win_y); + public static weak Gdk.Window at_pointer (out int win_x, out int win_y); public void beep (); public void begin_move_drag (int button, int root_x, int root_y, uint timestamp); public void begin_paint_rect (Gdk.Rectangle rectangle); @@ -958,7 +958,7 @@ namespace Gdk { public void clear_area (int x, int y, int width, int height); public void clear_area_e (int x, int y, int width, int height); public void configure_finished (); - public static void constrain_size (Gdk.Geometry geometry, uint flags, int width, int height, int new_width, int new_height); + public static void constrain_size (Gdk.Geometry geometry, uint flags, int width, int height, out int new_width, out int new_height); public void deiconify (); public void destroy (); public void destroy_notify (); @@ -971,17 +971,17 @@ namespace Gdk { public void freeze_updates (); public void fullscreen (); public weak GLib.List get_children (); - public bool get_decorations (Gdk.WMDecoration decorations); + public bool get_decorations (out Gdk.WMDecoration decorations); public Gdk.EventMask get_events (); public void get_frame_extents (out Gdk.Rectangle rect); public void get_geometry (out int x, out int y, out int width, out int height, out int depth); public weak Gdk.Window get_group (); - public void get_internal_paint_info (out weak Gdk.Drawable real_drawable, int x_offset, int y_offset); + public void get_internal_paint_info (out weak Gdk.Drawable real_drawable, out int x_offset, out int y_offset); public int get_origin (out int x, out int y); public weak Gdk.Window get_parent (); - public weak Gdk.Window get_pointer (int x, int y, Gdk.ModifierType mask); - public void get_position (int x, int y); - public void get_root_origin (int x, int y); + public weak Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask); + public void get_position (out int x, out int y); + public void get_root_origin (out int x, out int y); public Gdk.WindowState get_state (); public weak Gdk.Window get_toplevel (); public static weak GLib.List get_toplevels (); @@ -1195,8 +1195,8 @@ namespace Gdk { public double x; public double y; public double axes; - public uint state; - public short is_hint; + public Gdk.ModifierType state; + public bool is_hint; public weak Gdk.Device device; public double x_root; public double y_root; @@ -1690,7 +1690,7 @@ namespace Gdk { [CCode (cheader_filename = "gdk/gdk.h")] public static void pixbuf_render_threshold_alpha (Gdk.Pixbuf pixbuf, Gdk.Bitmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold); [CCode (cheader_filename = "gdk/gdk.h")] - public static Gdk.GrabStatus pointer_grab (Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window confine_to, Gdk.Cursor cursor, uint time_); + public static Gdk.GrabStatus pointer_grab (Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window? confine_to, Gdk.Cursor? cursor, uint time_); [CCode (cheader_filename = "gdk/gdk.h")] public static bool pointer_grab_info_libgtk_only (Gdk.Display display, out weak Gdk.Window grab_window, bool owner_events); [CCode (cheader_filename = "gdk/gdk.h")] diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 0dfb0a786..b5c2971d2 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -934,6 +934,7 @@ namespace GLib { public void get (...); public void set (...); public void get_property (string property_name, Value value); + public void set_property (string property_name, Value value); public void* get_data (string key); public void set_data (string key, void* data); public void set_data_full (string key, void* data, DestroyNotify? destroy); diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index f6650bbfb..b8099b064 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -2669,7 +2669,7 @@ namespace Gtk { public static weak GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties); public void @foreach (Gtk.Callback callback); public uint get_border_width (); - public weak GLib.List get_children (); + public weak GLib.List get_children (); public bool get_focus_chain (GLib.List focusable_widgets); public weak Gtk.Adjustment get_focus_hadjustment (); public weak Gtk.Adjustment get_focus_vadjustment (); @@ -5931,7 +5931,7 @@ namespace Gtk { public Gtk.ShadowType get_shadow_type (); public weak Gtk.Adjustment get_vadjustment (); [CCode (type = "GtkWidget*")] - public Viewport (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); + public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment); public void set_hadjustment (Gtk.Adjustment adjustment); public void set_shadow_type (Gtk.ShadowType type); public void set_vadjustment (Gtk.Adjustment adjustment); diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata index 3470da521..843b87236 100644 --- a/vapi/packages/gdk-2.0/gdk-2.0.metadata +++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata @@ -18,6 +18,8 @@ gdk_drawable_draw_pixbuf.gc nullable="1" gdk_drawable_get_size.width is_out="1" gdk_drawable_get_size.height is_out="1" GdkEvent* is_value_type="1" +GdkEventMotion.is_hint type_name="bool" +GdkEventMotion.state type_name="ModifierType" gdk_event_get_state.state is_out="1" gdk_event_get_axis.value is_out="1" gdk_event_get_coords.x_win is_out="1" @@ -41,7 +43,11 @@ gdk_pixbuf_get_from_image.dest nullable="1" gdk_pixbuf_get_from_image.cmap nullable="1" GdkPixmapObject hidden="1" GdkPixmapObjectClass hidden="1" +gdk_pixmap_create_from_xpm.mask is_out="1" +gdk_pixmap_create_from_xpm_d.mask is_out="1" GdkPoint is_value_type="1" +gdk_pointer_grab.confine_to nullable="1" +gdk_pointer_grab.cursor nullable="1" gdk_property_get.actual_property_type is_out="1" GdkRectangle is_value_type="1" gdk_rectangle_union.dest is_out="1" @@ -58,6 +64,13 @@ GdkTimeCoord is_value_type="1" GdkTrapezoid is_value_type="1" GdkVisualClass hidden="1" GdkWChar is_value_type="1" +gdk_window_at_pointer.win_x is_out="1" +gdk_window_at_pointer.win_y is_out="1" +gdk_window_constrain_size.new_width is_out="1" +gdk_window_constrain_size.new_height is_out="1" +gdk_window_get_decorations.decorations is_out="1" +gdk_window_get_deskrelative_origin.x is_out="1" +gdk_window_get_deskrelative_origin.y is_out="1" gdk_window_get_frame_extents.rect is_out="1" gdk_window_get_origin.x is_out="1" gdk_window_get_origin.y is_out="1" @@ -71,5 +84,15 @@ gdk_window_get_geometry.y is_out="1" gdk_window_get_geometry.width is_out="1" gdk_window_get_geometry.height is_out="1" gdk_window_get_geometry.depth is_out="1" +gdk_window_get_internal_paint_info.real_drawable is_out="1" +gdk_window_get_internal_paint_info.x_offset is_out="1" +gdk_window_get_internal_paint_info.y_offset is_out="1" +gdk_window_get_pointer.x is_out="1" +gdk_window_get_pointer.y is_out="1" +gdk_window_get_pointer.mask is_out="1" +gdk_window_get_position.x is_out="1" +gdk_window_get_position.y is_out="1" +gdk_window_get_root_origin.x is_out="1" +gdk_window_get_root_origin.y is_out="1" gdk_window_invalidate_rect.rect nullable="1" GdkXEvent is_value_type="1" diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata index 2e5d580ba..8f0e59424 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata +++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata @@ -89,6 +89,7 @@ GtkContainer::check_resize has_emitter="1" GtkContainer::remove has_emitter="1" GtkContainer::set_focus_child has_emitter="1" gtk_container_foreach.callback_data hidden="1" +gtk_container_get_children type_arguments="Widget" GtkContainerClass name="pointer" gtk_dialog_new_with_buttons.title nullable="1" gtk_dialog_new_with_buttons.parent nullable="1" @@ -458,6 +459,8 @@ gtk_tree_view_column_new_with_attributes.title nullable="1" gtk_tree_view_column_set_attributes ellipsis="1" gtk_tree_view_column_set_model.model nullable="1" gtk_true hidden="1" +gtk_viewport_new.hadjustment nullable="1" +gtk_viewport_new.vadjustment nullable="1" GtkWidget::can_activate_accel has_emitter="1" gtk_widget_class_path.path_length is_out="1" gtk_widget_class_path.path is_out="1"