app/file-open.c app/file-utils.c app/gimprc.c app/plug_in.c
2001-10-24 Michael Natterer <mitch@gimp.org> * app/file-open.c * app/file-utils.c * app/gimprc.c * app/plug_in.c * app/user_install.c * app/base/base.c * app/base/temp-buf.c * app/core/gimpdata.c * app/core/gimpdatafiles.c * app/core/gimpimagefile.c * app/gui/about-dialog.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/gui.c * app/gui/menus.c * app/gui/splash.c * app/gui/tips-dialog.c * app/tools/gimpcurvestool.c * app/tools/gimplevelstool.c * libgimpbase/gimpenv.c * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * tools/pdbgen/pdb/fileops.pdb: use g_build_filename() all over the place instead of g_strconcat() and friends together with G_DIR_SEPARATOR_S. Also removed all attempts to manually detect double dir separators. LibGimpBase's searchpath utility functions don't append a G_DIR_SEPARATOR_S to all paths any more. * app/pdb/fileops_cmds.c: regenerated.
This commit is contained in:

committed by
Michael Natterer

parent
f766956e67
commit
840a9700f4
@ -75,10 +75,8 @@ tips_dialog_create (void)
|
||||
{
|
||||
gchar *temp;
|
||||
|
||||
temp = g_strdup_printf ("%s" G_DIR_SEPARATOR_S TIPS_DIR_NAME
|
||||
G_DIR_SEPARATOR_S "%s",
|
||||
gimp_data_directory (),
|
||||
_("gimp_tips.txt"));
|
||||
temp = g_build_filename (gimp_data_directory (), TIPS_DIR_NAME,
|
||||
_("gimp_tips.txt"), NULL);
|
||||
read_tips_file (temp);
|
||||
g_free (temp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user