summaryrefslogtreecommitdiff
path: root/gtk/updateiconcache.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-01-30 15:06:06 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-01-30 15:06:06 +0000
commit63af2cd04130783a4e37ffe1599ee1c5ecef77a9 (patch)
treed2f63df124f1f3ef0e64ec75698008d97717c243 /gtk/updateiconcache.c
parent8a1723bcccf32acb6659df620c157679af26dfde (diff)
downloadgdk-pixbuf-63af2cd04130783a4e37ffe1599ee1c5ecef77a9.tar.gz
use the right type for "subparser_data" and remove the (gpointer*) cast.
2008-01-30 Michael Natterer <mitch@imendio.com> * gtk/gtkbuilderparser.c (parse_custom): use the right type for "subparser_data" and remove the (gpointer*) cast. Fixes bogus aliasing warning. * gtk/updateiconcache.c (add_string): cast const gchar* to gpointer when inserting in a GHashTable. * tests/testcalendar.c (calendar_detail_cb): remove const from return value since it's a newly allocated string. (calendar_update_details): free the detail. svn path=/trunk/; revision=19431
Diffstat (limited to 'gtk/updateiconcache.c')
-rw-r--r--gtk/updateiconcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c
index 45d0cf00e..14462fb6f 100644
--- a/gtk/updateiconcache.c
+++ b/gtk/updateiconcache.c
@@ -744,7 +744,7 @@ find_string (const gchar *n)
static void
add_string (const gchar *n, int offset)
{
- g_hash_table_insert (string_pool, n, GINT_TO_POINTER (offset));
+ g_hash_table_insert (string_pool, (gpointer) n, GINT_TO_POINTER (offset));
}
static gboolean