vala r1795 - in trunk: . vapi vapi/packages/gdk-2.0



Author: juergbi
Date: Sat Sep 27 09:02:52 2008
New Revision: 1795
URL: http://svn.gnome.org/viewvc/vala?rev=1795&view=rev

Log:
2008-09-27  JÃrg Billeter  <j bitron ch>

	* vapi/packages/gdk-2.0/:

	Fix gdk_display_get_maximal_cursor_size binding,
	patch by Michael Terry, fixes bug 551120

	* vapi/gdk-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/THANKS
   trunk/vapi/gdk-2.0.vapi
   trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata

Modified: trunk/THANKS
==============================================================================
--- trunk/THANKS	(original)
+++ trunk/THANKS	Sat Sep 27 09:02:52 2008
@@ -44,6 +44,7 @@
 Mathias Hasselmann
 MatÃas De la Puente
 Michael Lawrence
+Michael Terry
 Mikael Hermansson
 Nicolas Christener
 Nicolas Joseph

Modified: trunk/vapi/gdk-2.0.vapi
==============================================================================
--- trunk/vapi/gdk-2.0.vapi	(original)
+++ trunk/vapi/gdk-2.0.vapi	Sat Sep 27 09:02:52 2008
@@ -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 {
@@ -533,7 +533,6 @@
 	[CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", cheader_filename = "gdk/gdk.h")]
 	public class Bitmap {
 		public weak GLib.Object parent_instance;
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Bitmap ();
 		public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
 	}
@@ -559,7 +558,6 @@
 		public void get_clipbox (out Gdk.Rectangle rectangle);
 		public void get_rectangles (Gdk.Rectangle[] rectangles);
 		public void intersect (Gdk.Region source2);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Region ();
 		public void offset (int dx, int dy);
 		public bool point_in (int x, int y);
@@ -580,15 +578,10 @@
 		public uint ref_count;
 		public weak Gdk.Display get_display ();
 		public weak Gdk.Pixbuf get_image ();
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Cursor (Gdk.CursorType cursor_type);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Cursor.from_name (Gdk.Display display, string name);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);
 	}
 	[Compact]
@@ -604,7 +597,6 @@
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public class AppLaunchContext : GLib.AppLaunchContext {
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public AppLaunchContext ();
 		public void set_desktop (int desktop);
 		public void set_display (Gdk.Display display);
@@ -626,7 +618,6 @@
 		public weak Gdk.Screen get_screen ();
 		public static weak Gdk.Colormap get_system ();
 		public weak Gdk.Visual get_visual ();
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Colormap (Gdk.Visual visual, bool allocate);
 		public void query_color (ulong pixel, out Gdk.Color _result);
 	}
@@ -679,7 +670,7 @@
 		public uint get_default_cursor_size ();
 		public weak Gdk.Window get_default_group ();
 		public Gdk.Event get_event ();
-		public void get_maximal_cursor_size (uint width, uint height);
+		public void get_maximal_cursor_size (out uint width, out uint height);
 		public weak string get_name ();
 		public void get_pointer (out weak Gdk.Screen screen, int x, int y, Gdk.ModifierType mask);
 		public weak Gdk.Window get_window_at_pointer (int win_x, int win_y);
@@ -733,7 +724,6 @@
 		public Gdk.DragAction action;
 		public uint start_time;
 		public void* windowing_data;
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public DragContext ();
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
@@ -794,9 +784,7 @@
 		public void copy (Gdk.GC src_gc);
 		public weak Gdk.Colormap get_colormap ();
 		public weak Gdk.Screen get_screen ();
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public GC (Gdk.Drawable drawable);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
 		public void offset (int x_offset, int y_offset);
 		public void set_background (Gdk.Color color);
@@ -836,7 +824,6 @@
 		public void* windowing_data;
 		public weak Gdk.Colormap get_colormap ();
 		public uint get_pixel (int x, int y);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
 		public void put_pixel (int x, int y, uint pixel);
 		public void set_colormap (Gdk.Colormap colormap);
@@ -846,7 +833,7 @@
 		public weak Gdk.Display display;
 		public static weak Gdk.Keymap get_default ();
 		public Pango.Direction get_direction ();
-		public bool get_entries_for_keycode (uint hardware_keycode, out weak Gdk.KeymapKey[] keys, out weak uint[] keyvals, int n_entries);
+		public bool get_entries_for_keycode (uint hardware_keycode, out weak Gdk.KeymapKey[]? keys, out weak uint[]? keyvals, int n_entries);
 		public bool get_entries_for_keyval (uint keyval, Gdk.KeymapKey[] keys);
 		public static weak Gdk.Keymap get_for_display (Gdk.Display display);
 		public bool have_bidi_layouts ();
@@ -858,7 +845,7 @@
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public class PangoRenderer : Pango.Renderer {
 		public static weak Pango.Renderer get_default (Gdk.Screen screen);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0, type = "PangoRenderer*")]
+		[CCode (type = "PangoRenderer*")]
 		public PangoRenderer (Gdk.Screen screen);
 		public void set_drawable (Gdk.Drawable drawable);
 		public void set_gc (Gdk.GC gc);
@@ -879,7 +866,6 @@
 		public static weak Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, Gdk.NativeWindow anid, int width, int height, int depth);
 		public static weak Gdk.Pixmap lookup (Gdk.NativeWindow anid);
 		public static weak Gdk.Pixmap lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
@@ -1021,7 +1007,6 @@
 		public void move (int x, int y);
 		public void move_region (Gdk.Region region, int dx, int dy);
 		public void move_resize (int x, int y, int width, int height);
-		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
 		public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask);
 		public weak GLib.List peek_children ();
 		public static void process_all_updates ();
@@ -1346,21 +1331,21 @@
 	public struct PangoAttrEmbossColor {
 		public weak Pango.Attribute attr;
 		public Pango.Color color;
-		[CCode (cname = "gdk_pango_attr_emboss_color_new", array_length_pos = 0, delegate_target_pos = 0)]
+		[CCode (cname = "gdk_pango_attr_emboss_color_new")]
 		public PangoAttrEmbossColor (Gdk.Color color);
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public struct PangoAttrEmbossed {
 		public weak Pango.Attribute attr;
 		public bool embossed;
-		[CCode (cname = "gdk_pango_attr_embossed_new", array_length_pos = 0, delegate_target_pos = 0)]
+		[CCode (cname = "gdk_pango_attr_embossed_new")]
 		public PangoAttrEmbossed (bool embossed);
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public struct PangoAttrStipple {
 		public weak Pango.Attribute attr;
 		public weak Gdk.Bitmap stipple;
-		[CCode (cname = "gdk_pango_attr_stipple_new", array_length_pos = 0, delegate_target_pos = 0)]
+		[CCode (cname = "gdk_pango_attr_stipple_new")]
 		public PangoAttrStipple (Gdk.Bitmap stipple);
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
@@ -1375,7 +1360,7 @@
 		public int n_colors;
 		public weak GLib.SList info_list;
 		public void free ();
-		[CCode (cname = "gdk_rgb_cmap_new", array_length_pos = 0, delegate_target_pos = 0)]
+		[CCode (cname = "gdk_rgb_cmap_new")]
 		public RgbCmap (uint[] colors);
 	}
 	[CCode (cheader_filename = "gdk/gdk.h")]
@@ -1481,7 +1466,7 @@
 		public bool get_state (out Gdk.ModifierType state);
 		public uint get_time ();
 		public static void handler_set (Gdk.EventFunc func, void* data, GLib.DestroyNotify notify);
-		[CCode (cname = "gdk_event_new", array_length_pos = 0, delegate_target_pos = 0)]
+		[CCode (cname = "gdk_event_new")]
 		public Event (Gdk.EventType type);
 		public static Gdk.Event peek ();
 		public void put ();

Modified: trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata	(original)
+++ trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata	Sat Sep 27 09:02:52 2008
@@ -15,6 +15,8 @@
 GdkDeviceClass hidden="1"
 GdkDeviceKey is_value_type="1"
 GdkDisplay.closed hidden="1"
+gdk_display_get_maximal_cursor_size.width is_out="1"
+gdk_display_get_maximal_cursor_size.height is_out="1"
 gdk_drawable_draw_pixbuf.gc nullable="1"
 gdk_drawable_get_size.width is_out="1"
 gdk_drawable_get_size.height is_out="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]