[gtk+/gtk-style-context: 242/540] GtkThemingEngine: Do not return a const GtkThemingEngine on load()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 242/540] GtkThemingEngine: Do not return a const GtkThemingEngine on load()
- Date: Fri, 3 Dec 2010 02:56:28 +0000 (UTC)
commit 64a2c15f5240608420f24ba77c75a70a828689e1
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]