libgimp: deprecate GimpAspectPreview's GimpDrawable API

and add drawable_ID functions instead.
This commit is contained in:
Michael Natterer
2015-09-17 00:24:03 +02:00
parent 5d7710a8a5
commit bbe667f291
3 changed files with 138 additions and 41 deletions

View File

@ -61,10 +61,13 @@ struct _GimpAspectPreviewClass
};
GType gimp_aspect_preview_get_type (void) G_GNUC_CONST;
GType gimp_aspect_preview_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_aspect_preview_new (GimpDrawable *drawable,
gboolean *toggle);
GtkWidget * gimp_aspect_preview_new_from_drawable_id (gint32 drawable_ID);
GIMP_DEPRECATED_FOR(gimp_aspect_preview_new_from_drawable_id)
GtkWidget * gimp_aspect_preview_new (GimpDrawable *drawable,
gboolean *toggle);
G_END_DECLS