summaryrefslogtreecommitdiff
path: root/saedit/sae.c
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2012-01-30 21:29:46 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2012-01-30 21:29:46 +0400
commite0e931518b1e5072749e2f2db768a9f0ed899d30 (patch)
treeee3ea4b49cf75c8ed533a8fa0357add8c971031c /saedit/sae.c
parentdfee2a915a49e479345add234e453a423881d12e (diff)
downloadevol-tools-e0e931518b1e5072749e2f2db768a9f0ed899d30.tar.gz
evol-tools-e0e931518b1e5072749e2f2db768a9f0ed899d30.tar.bz2
evol-tools-e0e931518b1e5072749e2f2db768a9f0ed899d30.tar.xz
evol-tools-e0e931518b1e5072749e2f2db768a9f0ed899d30.zip
Correcting code to remove all compiler warnings.
Diffstat (limited to 'saedit/sae.c')
-rw-r--r--saedit/sae.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/saedit/sae.c b/saedit/sae.c
index 736e90d..0501269 100644
--- a/saedit/sae.c
+++ b/saedit/sae.c
@@ -59,7 +59,7 @@ gboolean set_up_animation_by_direction(SAEInfo *sae_info, const gchar *direction
GList *list = g_list_find_custom(sae_info->animations,
xml_attr_new("direction", direction),
- xml_node_compare_with_attr_func);
+ (GCompareFunc)xml_node_compare_with_attr_func);
if (list == NULL)
return FALSE;
int count = 0;
@@ -115,7 +115,7 @@ gboolean set_up_animation_by_direction(SAEInfo *sae_info, const gchar *direction
sprite->pixbuf = get_sprite_by_index(i, sae_info);
count++;
if (sae_info->animation != NULL)
- g_list_append(sae_info->animation, sprite);
+ sae_info->animation = g_list_append(sae_info->animation, sprite);
else {
sae_info->animation = g_list_alloc();
sae_info->animation->data = sprite;