Commit 3374c912 authored by Bruno Coudoin's avatar Bruno Coudoin

Fixed compilation issue on ubuntu 8.10

svn path=/branches/gcomprixogoo/; revision=3594
parent 7ad1a533
......@@ -351,7 +351,7 @@ static void repeat ()
g_free(str);
str = g_strdup_printf(gettext(colors[GPOINTER_TO_INT(g_list_nth_data(listColors, 0))*2+1]));
str = g_strdup(gettext(colors[GPOINTER_TO_INT(g_list_nth_data(listColors, 0))*2+1]));
goo_canvas_text_new (boardRootItem,
str,
......
......@@ -1754,7 +1754,7 @@ GcomprisBoard *gc_db_get_board_from_id(int board_id)
gcomprisBoard->gmodule_file = NULL;
/* From DB we have only package_data_dir. */
gcomprisBoard->board_dir = g_strdup_printf(properties->package_data_dir);
gcomprisBoard->board_dir = g_strdup(properties->package_data_dir);
gcomprisBoard->board_id = board_id;
gcomprisBoard->name = g_strdup(result[i++]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment