[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9.0-100-g4edb7ea
Pierre Biava
nobody at users.sourceforge.net
Tue Mar 22 21:08:37 CET 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".
The branch, master has been updated
via 4edb7ea93d8afb9ba289303d2b282421a1300937 (commit)
from 105ea62ab7dd0f862e99f46392ab2a714ef8a56f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4edb7ea93d8afb9ba289303d2b282421a1300937
Author: pbiava <pierre.biava at nerim.net>
Date: Tue Mar 22 20:20:02 2011 +0100
fixes a cast problem between static char * and const gchar *
-----------------------------------------------------------------------
Changes:
diff --git a/src/gsb_dirs.c b/src/gsb_dirs.c
index 52ed6ae..d861d7f 100644
--- a/src/gsb_dirs.c
+++ b/src/gsb_dirs.c
@@ -50,7 +50,9 @@ void gsb_dirs_init ( void )
#ifdef GTKOSXAPPLICATION
if ( gtk_osxapplication_get_bundle_id ( ) )
{
- gchar *res_path = gtk_osxapplication_get_resource_path ();
+ gchar *res_path;
+
+ res_path = gtk_osxapplication_get_resource_path ();
locale_dir = g_strconcat (res_path, "/share/locale", NULL );
pixmaps_dir = g_strconcat (res_path, "/share/pixmaps/grisbi", NULL );
plugins_dir = g_strconcat (res_path, "/lib/grisbi", NULL );
@@ -95,7 +97,7 @@ void gsb_dirs_init ( void )
_C_GRISBIRC = g_strconcat ( PACKAGE, "rc", NULL);
_C_OLD_GRISBIRC = g_strconcat ( ".", PACKAGE, "rc", NULL);
_C_PATH_CONFIG = win32_get_grisbirc_folder_path( );
- _C_PATH_DATA_FILES = g_get_home_dir ( );
+ _C_PATH_DATA_FILES = g_strdup ( g_get_home_dir ( ) );
#endif /* _WIN32 */
hooks/post-receive
--
grisbi
More information about the cvs
mailing list