mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
libgimpwidgets: Add missing GIR annotations
This commit is contained in:
parent
d44a9c942b
commit
c2971f000a
1 changed files with 9 additions and 13 deletions
|
@ -574,14 +574,14 @@ gimp_coordinates_new (GimpUnit unit,
|
||||||
/**
|
/**
|
||||||
* gimp_toggle_button_update:
|
* gimp_toggle_button_update:
|
||||||
* @widget: A #GtkToggleButton.
|
* @widget: A #GtkToggleButton.
|
||||||
* @data: A pointer to a #gint variable which will store the value of
|
* @data: (out) (type gboolean): A return location for the value of
|
||||||
* gtk_toggle_button_get_active().
|
* gtk_toggle_button_get_active().
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gimp_toggle_button_update (GtkWidget *widget,
|
gimp_toggle_button_update (GtkWidget *widget,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
gint *toggle_val = (gint *) data;
|
gboolean *toggle_val = (gboolean *) data;
|
||||||
|
|
||||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)))
|
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)))
|
||||||
*toggle_val = TRUE;
|
*toggle_val = TRUE;
|
||||||
|
@ -592,8 +592,8 @@ gimp_toggle_button_update (GtkWidget *widget,
|
||||||
/**
|
/**
|
||||||
* gimp_radio_button_update:
|
* gimp_radio_button_update:
|
||||||
* @widget: A #GtkRadioButton.
|
* @widget: A #GtkRadioButton.
|
||||||
* @data: A pointer to a #gint variable which will store the value of
|
* @data: (out) (type gint): A return location for the value of
|
||||||
* GPOINTER_TO_INT (g_object_get_data (@widget, "gimp-item-data")).
|
* `GPOINTER_TO_INT (g_object_get_data (@widget, "gimp-item-data"))`.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gimp_radio_button_update (GtkWidget *widget,
|
gimp_radio_button_update (GtkWidget *widget,
|
||||||
|
@ -611,8 +611,7 @@ gimp_radio_button_update (GtkWidget *widget,
|
||||||
/**
|
/**
|
||||||
* gimp_int_adjustment_update:
|
* gimp_int_adjustment_update:
|
||||||
* @adjustment: A #GtkAdjustment.
|
* @adjustment: A #GtkAdjustment.
|
||||||
* @data: A pointer to a #gint variable which will store the
|
* @data: (out) (type gint): A return location for the @adjustment's value.
|
||||||
* @adjustment's value.
|
|
||||||
*
|
*
|
||||||
* Note that the #GtkAdjustment's value (which is a #gdouble) will be
|
* Note that the #GtkAdjustment's value (which is a #gdouble) will be
|
||||||
* rounded with RINT().
|
* rounded with RINT().
|
||||||
|
@ -629,8 +628,7 @@ gimp_int_adjustment_update (GtkAdjustment *adjustment,
|
||||||
/**
|
/**
|
||||||
* gimp_uint_adjustment_update:
|
* gimp_uint_adjustment_update:
|
||||||
* @adjustment: A #GtkAdjustment.
|
* @adjustment: A #GtkAdjustment.
|
||||||
* @data: A pointer to a #guint variable which will store the
|
* @data: (out) (type guint): A return location for the @adjustment's value.
|
||||||
* @adjustment's value.
|
|
||||||
*
|
*
|
||||||
* Note that the #GtkAdjustment's value (which is a #gdouble) will be rounded
|
* Note that the #GtkAdjustment's value (which is a #gdouble) will be rounded
|
||||||
* with (#guint) (value + 0.5).
|
* with (#guint) (value + 0.5).
|
||||||
|
@ -647,8 +645,7 @@ gimp_uint_adjustment_update (GtkAdjustment *adjustment,
|
||||||
/**
|
/**
|
||||||
* gimp_float_adjustment_update:
|
* gimp_float_adjustment_update:
|
||||||
* @adjustment: A #GtkAdjustment.
|
* @adjustment: A #GtkAdjustment.
|
||||||
* @data: A pointer to a #gfloat variable which will store the
|
* @data: (out) (type gfloat): A return location for the @adjustment's value.
|
||||||
* @adjustment's value.
|
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gimp_float_adjustment_update (GtkAdjustment *adjustment,
|
gimp_float_adjustment_update (GtkAdjustment *adjustment,
|
||||||
|
@ -663,8 +660,7 @@ gimp_float_adjustment_update (GtkAdjustment *adjustment,
|
||||||
/**
|
/**
|
||||||
* gimp_double_adjustment_update:
|
* gimp_double_adjustment_update:
|
||||||
* @adjustment: A #GtkAdjustment.
|
* @adjustment: A #GtkAdjustment.
|
||||||
* @data: A pointer to a #gdouble variable which will store the
|
* @data: (out) (type gdouble): A return location for the @adjustment's value.
|
||||||
* @adjustment's value.
|
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gimp_double_adjustment_update (GtkAdjustment *adjustment,
|
gimp_double_adjustment_update (GtkAdjustment *adjustment,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue