imagedefinition: The storage type is not a boolean

This commit is contained in:
Christoph Reiter 2015-12-17 19:52:23 +01:00 committed by Benjamin Otte
parent a3fd5a010b
commit 47325a827b
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS;
g_free (def);
}
gboolean
GtkImageType
gtk_image_definition_get_storage_type (const GtkImageDefinition *def)
{
return def->type;

View File

@ -39,7 +39,7 @@ GtkImageDefinition * gtk_image_definition_new_surface (cairo_surface_t
GtkImageDefinition * gtk_image_definition_ref (GtkImageDefinition *def);
void gtk_image_definition_unref (GtkImageDefinition *def);
gboolean gtk_image_definition_get_storage_type (const GtkImageDefinition *def);
GtkImageType gtk_image_definition_get_storage_type (const GtkImageDefinition *def);
gint gtk_image_definition_get_scale (const GtkImageDefinition *def);
GdkPixbuf * gtk_image_definition_get_pixbuf (const GtkImageDefinition *def);
const gchar * gtk_image_definition_get_stock (const GtkImageDefinition *def);