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



commit a2ec35550e7fc6e6ed223ad53f8eaed6eac11541
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]