mirror of https://github.com/GNOME/gimp.git
libgimpwidgets: new gimp_label_int_widget_get_widget() function.
This commit is contained in:
parent
3128047a0b
commit
bc3602a787
|
@ -253,3 +253,15 @@ gimp_label_int_widget_new (const gchar *text,
|
|||
|
||||
return int_widget;
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
gimp_label_int_widget_get_widget (GimpLabelIntWidget *widget)
|
||||
{
|
||||
GimpLabelIntWidgetPrivate *priv;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_LABEL_INT_WIDGET (widget), NULL);
|
||||
|
||||
priv = gimp_label_int_widget_get_instance_private (widget);
|
||||
|
||||
return priv->widget;
|
||||
}
|
||||
|
|
|
@ -51,8 +51,10 @@ struct _GimpLabelIntWidgetClass
|
|||
void (* _gimp_reserved8) (void);
|
||||
};
|
||||
|
||||
GtkWidget * gimp_label_int_widget_new (const gchar *text,
|
||||
GtkWidget *widget);
|
||||
GtkWidget * gimp_label_int_widget_new (const gchar *text,
|
||||
GtkWidget *widget);
|
||||
|
||||
GtkWidget * gimp_label_int_widget_get_widget (GimpLabelIntWidget *widget);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Reference in New Issue