forked from AuroraMiddleware/gtk
image: Add private _get_definition
This commit is contained in:
parent
25034b6f87
commit
00d720d8a4
@ -1479,6 +1479,12 @@ gtk_image_set_from_definition (GtkImage *image,
|
|||||||
g_object_thaw_notify (G_OBJECT (image));
|
g_object_thaw_notify (G_OBJECT (image));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GtkImageDefinition *
|
||||||
|
gtk_image_get_definition (GtkImage *image)
|
||||||
|
{
|
||||||
|
return gtk_icon_helper_get_definition (image->priv->icon_helper);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_image_clear:
|
* gtk_image_clear:
|
||||||
* @image: a #GtkImage
|
* @image: a #GtkImage
|
||||||
|
@ -36,6 +36,9 @@ void gtk_image_set_from_definition (GtkImage
|
|||||||
GtkImageDefinition *def,
|
GtkImageDefinition *def,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
|
||||||
|
|
||||||
|
GtkImageDefinition * gtk_image_get_definition (GtkImage *image);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_IMAGE_H__ */
|
#endif /* __GTK_IMAGE_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user