diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-01-18 06:37:11 +0100 |
---|---|---|
committer | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-01-20 13:57:21 +0100 |
commit | 374e76a19dac87676995356f6daacb10f4bb6e36 (patch) | |
tree | a91c71d7d3766541344472d2d61eccf7bfa31804 /gdk | |
parent | 2fb1c064020c5db189285b1d5e8b8dcea8e9d09b (diff) | |
download | gtk+-374e76a19dac87676995356f6daacb10f4bb6e36.tar.gz |
[GI] Mark unintrospectable constructs as (skip)
Also adds 'Rename to:' annotation to some constructs replacing the
skipped ones.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdk.c | 11 | ||||
-rw-r--r-- | gdk/gdkdevice.c | 14 | ||||
-rw-r--r-- | gdk/gdkdisplay.c | 4 | ||||
-rw-r--r-- | gdk/gdkpango.c | 8 | ||||
-rw-r--r-- | gdk/gdkselection.c | 2 | ||||
-rw-r--r-- | gdk/gdkwindow.c | 6 |
6 files changed, 25 insertions, 20 deletions
@@ -707,7 +707,7 @@ gdk_threads_init (void) } /** - * gdk_threads_set_lock_functions: + * gdk_threads_set_lock_functions: (skip) * @enter_fn: function called to guard GDK * @leave_fn: function called to release the guard * @@ -827,6 +827,7 @@ gdk_threads_dispatch_free (gpointer data) * Return value: the ID (greater than 0) of the event source. * * Since: 2.12 + * Rename to: gdk_threads_add_idle */ guint gdk_threads_add_idle_full (gint priority, @@ -850,7 +851,7 @@ gdk_threads_add_idle_full (gint priority, } /** - * gdk_threads_add_idle: + * gdk_threads_add_idle: (skip) * @function: function to call * @data: data to pass to @function * @@ -929,6 +930,7 @@ gdk_threads_add_idle (GSourceFunc function, * Return value: the ID (greater than 0) of the event source. * * Since: 2.12 + * Rename to: gdk_threads_add_timeout */ guint gdk_threads_add_timeout_full (gint priority, @@ -954,7 +956,7 @@ gdk_threads_add_timeout_full (gint priority, } /** - * gdk_threads_add_timeout: + * gdk_threads_add_timeout: (skip) * @interval: the time between calls to the function, in milliseconds * (1/1000ths of a second) * @function: function to call @@ -995,6 +997,7 @@ gdk_threads_add_timeout (guint interval, * Return value: the ID (greater than 0) of the event source. * * Since: 2.14 + * Rename to: gdk_threads_add_timeout_seconds */ guint gdk_threads_add_timeout_seconds_full (gint priority, @@ -1020,7 +1023,7 @@ gdk_threads_add_timeout_seconds_full (gint priority, } /** - * gdk_threads_add_timeout_seconds: + * gdk_threads_add_timeout_seconds: (skip) * @interval: the time between calls to the function, in seconds * @function: function to call * @data: data to pass to @function diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c index 3f7168af25..2d1f00afd4 100644 --- a/gdk/gdkdevice.c +++ b/gdk/gdkdevice.c @@ -377,7 +377,7 @@ gdk_device_get_property (GObject *object, } /** - * gdk_device_get_state: + * gdk_device_get_state: (skip) * @device: a #GdkDevice. * @window: a #GdkWindow. * @axes: an array of doubles to store the values of the axes of @device in, @@ -493,7 +493,7 @@ gdk_device_get_window_at_position (GdkDevice *device, } /** - * gdk_device_get_history: + * gdk_device_get_history: (skip) * @device: a #GdkDevice * @window: the window with respect to which which the event coordinates will be reported * @start: starting timestamp for range of events to return @@ -1024,9 +1024,9 @@ gdk_device_list_axes (GdkDevice *device) } /** - * gdk_device_get_axis_value: + * gdk_device_get_axis_value: (skip) * @device: a pointer #GdkDevice. - * @axes: pointer to an array of axes + * @axes: (array): pointer to an array of axes * @axis_label: #GdkAtom with the axis label. * @value: location to store the found value. * @@ -1071,11 +1071,11 @@ gdk_device_get_axis_value (GdkDevice *device, } /** - * gdk_device_get_axis: + * gdk_device_get_axis: (skip) * @device: a #GdkDevice - * @axes: pointer to an array of axes + * @axes: (array): pointer to an array of axes * @use: the use to look for - * @value: location to store the found value. + * @value: (out): location to store the found value. * * Interprets an array of double as axis values for a given device, * and locates the value in the array for a given axis use. diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 32f2b94429..c4f0e4b8b2 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -1695,7 +1695,7 @@ gdk_event_send_client_message_for_display (GdkDisplay *display, } /** - * gdk_display_add_client_message_filter: + * gdk_display_add_client_message_filter: (skip) * @display: a #GdkDisplay for which this message filter applies * @message_type: the type of ClientMessage events to receive. * This will be checked against the @message_type field @@ -1719,7 +1719,7 @@ gdk_display_add_client_message_filter (GdkDisplay *display, } /** - * gdk_add_client_message_filter: + * gdk_add_client_message_filter: (skip) * @message_type: the type of ClientMessage events to receive. This will be * checked against the <structfield>message_type</structfield> field of the * XClientMessage event struct. diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c index 907b51798b..da35208827 100644 --- a/gdk/gdkpango.c +++ b/gdk/gdkpango.c @@ -190,11 +190,13 @@ layout_iter_get_line_clip_region (PangoLayoutIter *iter, } /** - * gdk_pango_layout_line_get_clip_region: + * gdk_pango_layout_line_get_clip_region: (skip) * @line: a #PangoLayoutLine * @x_origin: X pixel where you intend to draw the layout line with this clip * @y_origin: baseline pixel where you intend to draw the layout line with this clip - * @index_ranges: array of byte indexes into the layout, where even members of array are start indexes and odd elements are end indexes + * @index_ranges: (array): array of byte indexes into the layout, + * where even members of array are start indexes and odd elements + * are end indexes * @n_ranges: number of ranges in @index_ranges, i.e. half the size of @index_ranges * * Obtains a clip region which contains the areas where the given @@ -239,7 +241,7 @@ gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line, } /** - * gdk_pango_layout_get_clip_region: + * gdk_pango_layout_get_clip_region: (skip) * @layout: a #PangoLayout * @x_origin: X pixel where you intend to draw the layout with this clip * @y_origin: Y pixel where you intend to draw the layout with this clip diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c index 8a5972309d..3e29a4bcfe 100644 --- a/gdk/gdkselection.c +++ b/gdk/gdkselection.c @@ -226,7 +226,7 @@ gdk_selection_send_notify_for_display (GdkDisplay *display, } /** - * gdk_selection_property_get: + * gdk_selection_property_get: (skip) * @requestor: the window on which the data is stored * @data: location to store a pointer to the retrieved data. If the retrieval failed, %NULL we be stored here, otherwise, it diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 51b1fd2ca7..4feec5ad39 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -2411,7 +2411,7 @@ gdk_window_peek_children (GdkWindow *window) } /** - * gdk_window_add_filter: + * gdk_window_add_filter: (skip) * @window: a #GdkWindow * @function: filter callback * @data: data to pass to filter callback @@ -2472,7 +2472,7 @@ gdk_window_add_filter (GdkWindow *window, } /** - * gdk_window_remove_filter: + * gdk_window_remove_filter: (skip) * @window: a #GdkWindow * @function: previously-added filter function * @data: user data for previously-added filter function @@ -10896,7 +10896,7 @@ gdk_property_get (GdkWindow *window, } /** - * gdk_property_change: + * gdk_property_change: (skip) * @window: a #GdkWindow * @property: the property to change * @type: the new type for the property. If @mode is |