Author: sergiomb
Update of /cvs/nonfree/rpms/gmameui/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv23853
Modified Files:
gmameui-0.2.13-g_key_file_save_to_file2.patch
Log Message:
last version
gmameui-0.2.13-g_key_file_save_to_file2.patch:
gui_prefs.c | 10 +++++-----
io.c | 2 +-
io.h | 2 +-
mame_options.c | 8 ++++----
mame_options_legacy.c | 8 ++++----
5 files changed, 15 insertions(+), 15 deletions(-)
Index: gmameui-0.2.13-g_key_file_save_to_file2.patch
===================================================================
RCS file: /cvs/nonfree/rpms/gmameui/devel/gmameui-0.2.13-g_key_file_save_to_file2.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gmameui-0.2.13-g_key_file_save_to_file2.patch 17 Jan 2015 05:29:05 -0000 1.1
+++ gmameui-0.2.13-g_key_file_save_to_file2.patch 24 Jan 2015 00:33:10 -0000 1.2
@@ -6,7 +6,7 @@
/* Set the value and save the file */
g_key_file_set_integer (pr->priv->prefs_ini_file, "Preferences", key,
value);
- g_key_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
-+ g_key_file_save_to_file2 (pr->priv->prefs_ini_file, pr->priv->filename);
++ gmameui_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
g_free (key);
@@ -15,7 +15,7 @@
/* Set the value and save the file */
g_key_file_set_integer_list (pr->priv->prefs_ini_file, "Preferences",
key, value, NUMBER_COLUMN);
- g_key_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
-+ g_key_file_save_to_file2 (pr->priv->prefs_ini_file, pr->priv->filename);
++ gmameui_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
g_free (key);
@@ -24,7 +24,7 @@
/* Set the value and save the file */
g_key_file_set_boolean (pr->priv->prefs_ini_file, "Preferences", key,
value);
- g_key_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
-+ g_key_file_save_to_file2 (pr->priv->prefs_ini_file, pr->priv->filename);
++ gmameui_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
g_free (key);
@@ -33,7 +33,7 @@
/* Set the value and save the file */
g_key_file_set_string (pr->priv->prefs_ini_file, "Preferences", key,
value);
- g_key_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
-+ g_key_file_save_to_file2 (pr->priv->prefs_ini_file, pr->priv->filename);
++ gmameui_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
g_free (key);
@@ -42,7 +42,7 @@
g_key_file_set_string_list (pr->priv->prefs_ini_file, "Preferences",
key, value, n_va);
}
- g_key_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
-+ g_key_file_save_to_file2 (pr->priv->prefs_ini_file, pr->priv->filename);
++ gmameui_file_save_to_file (pr->priv->prefs_ini_file, pr->priv->filename);
GMAMEUI_DEBUG ("Saving string array %s... done", key);
@@ -54,7 +54,7 @@
/* Custom function to save the keyfile to disk. If the file does not exist,
it will be created */
-gboolean g_key_file_save_to_file(GKeyFile *kf, const gchar *file)
-+gboolean g_key_file_save_to_file2(GKeyFile *kf, const gchar *file)
++gboolean gmameui_file_save_to_file(GKeyFile *kf, const gchar *file)
{
GError *error = NULL;
gsize length, nr;
@@ -66,7 +66,7 @@
gboolean
-g_key_file_save_to_file(GKeyFile *kf, const gchar *file);
-+g_key_file_save_to_file2(GKeyFile *kf, const gchar *file);
++gmameui_file_save_to_file(GKeyFile *kf, const gchar *file);
gboolean
load_games_ini(void);
@@ -78,7 +78,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
static void
@@ -87,7 +87,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
static void
@@ -96,7 +96,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
static void
@@ -105,7 +105,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
/* Gets the value from the keyfile for the specified key, which should be of the
@@ -117,7 +117,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
static void
@@ -126,7 +126,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
static void
@@ -135,7 +135,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
static void
@@ -144,7 +144,7 @@
// g_strfreev (stv);
- g_key_file_save_to_file (opts->priv->options_file, opts->priv->filename);
-+ g_key_file_save_to_file2 (opts->priv->options_file, opts->priv->filename);
++ gmameui_file_save_to_file (opts->priv->options_file,
opts->priv->filename);
}
/* Gets the value from the keyfile for the specified key, which should be of the