GtkThemingEngine: Do not return a const GtkThemingEngine on load()

This commit is contained in:
Carlos Garnacho 2010-10-08 18:13:14 +02:00
parent 5c2cf1e934
commit a1a90396b7
2 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@ gtk_theming_module_init (GtkThemingModule *module)
{
}
G_CONST_RETURN GtkThemingEngine *
GtkThemingEngine *
gtk_theming_engine_load (const gchar *name)
{
static GHashTable *engines = NULL;

View File

@ -182,7 +182,7 @@ GtkTextDirection gtk_theming_engine_get_direction (GtkThemingEngine *engine);
GtkJunctionSides gtk_theming_engine_get_junction_sides (GtkThemingEngine *engine);
G_CONST_RETURN GtkThemingEngine * gtk_theming_engine_load (const gchar *name);
GtkThemingEngine * gtk_theming_engine_load (const gchar *name);
GdkScreen * gtk_theming_engine_get_screen (GtkThemingEngine *engine);