[gtk+/gtk-style-context: 242/347] GtkThemingEngine: Do not return a const GtkThemingEngine on load()



commit 203fe70e6c7a0f67cee2469992c7ec9e23fa530b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Oct 8 18:13:14 2010 +0200

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

 gtk/gtkthemingengine.c |    2 +-
 gtk/gtkthemingengine.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index a90f751..ee7e641 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -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;
diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h
index e315e0a..8cbd75a 100644
--- a/gtk/gtkthemingengine.h
+++ b/gtk/gtkthemingengine.h
@@ -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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]