Mercurial > pidgin
diff libpurple/theme-manager.c @ 25090:5a02912e0bac
more gobject fixed
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Sun, 22 Jun 2008 03:07:07 +0000 |
parents | d60c3d1c6966 |
children | 655a37bc0eb0 |
line wrap: on
line diff
--- a/libpurple/theme-manager.c Sat Jun 21 23:42:57 2008 +0000 +++ b/libpurple/theme-manager.c Sun Jun 22 03:07:07 2008 +0000 @@ -65,9 +65,9 @@ static gchar * purple_theme_manager_make_key(const gchar *name, const gchar *type) { - g_return_val_if_fail(name, NULL); + g_return_val_if_fail(name, NULL); g_return_val_if_fail(type, NULL); - return g_strconcat(type, '/', name, NULL); + return g_strconcat(type, "/", name, NULL); } /* returns TRUE if theme is of type "user_data" */ @@ -76,7 +76,7 @@ gpointer value, gchar *user_data) { - return g_str_has_prefix (key, g_strconcat(user_data, '/', NULL)); + return g_str_has_prefix (key, g_strconcat(user_data, "/", NULL)); } static gboolean @@ -244,7 +244,7 @@ g_return_if_fail(key); /* if something is already there do nothing */ - if (! g_hash_table_lookup (theme_table, key)) + if (g_hash_table_lookup (theme_table, key) == NULL) g_hash_table_insert(theme_table, key, theme); g_free(key);