gcompris r3595 - in trunk: . src/boards src/gcompris
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3595 - in trunk: . src/boards src/gcompris
- Date: Fri, 7 Nov 2008 21:27:18 +0000 (UTC)
Author: bcoudoin
Date: Fri Nov 7 21:27:18 2008
New Revision: 3595
URL: http://svn.gnome.org/viewvc/gcompris?rev=3595&view=rev
Log:
Fixes to compile on ubuntu 8.10
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/src/boards/colors.c
trunk/src/gcompris/config.c
trunk/src/gcompris/gcompris_db.c
Modified: trunk/src/boards/colors.c
==============================================================================
--- trunk/src/boards/colors.c (original)
+++ trunk/src/boards/colors.c Fri Nov 7 21:27:18 2008
@@ -327,7 +327,7 @@
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]));
gnome_canvas_item_new (boardRootItem,
gnome_canvas_text_get_type (),
Modified: trunk/src/gcompris/config.c
==============================================================================
--- trunk/src/gcompris/config.c (original)
+++ trunk/src/gcompris/config.c Fri Nov 7 21:27:18 2008
@@ -101,6 +101,7 @@
"oc_FR.UTF-8", N_("Occitan (languedocien)"),
"pl_PL.UTF-8", N_("Polish"),
"pt_PT.UTF-8", N_("Portuguese"),
+ "pa_IN.UTF-8", N_("Punjabi"),
"pt_BR.UTF-8", N_("Portuguese (Brazil)"),
"ro_RO.UTF-8", N_("Romanian"),
"ru_RU.UTF-8", N_("Russian"),
Modified: trunk/src/gcompris/gcompris_db.c
==============================================================================
--- trunk/src/gcompris/gcompris_db.c (original)
+++ trunk/src/gcompris/gcompris_db.c Fri Nov 7 21:27:18 2008
@@ -1725,7 +1725,7 @@
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);
/* Fixed since I use the canvas own pixel_per_unit scheme */
gcomprisBoard->width = BOARDWIDTH;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]