summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-07-12 23:14:28 +0000
committerjstebbins <[email protected]>2008-07-12 23:14:28 +0000
commit734741a81a7ac75c504fd29c033080d0edbb8875 (patch)
treebdffe6de9325f56b357281e336e2f841debed387 /gtk
parent49e96a4a903d23db26e7c613c28b41f20b0fbabd (diff)
LinGui: oops, delete some debugging output
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1568 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/settings.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index eced5a607..7d6c6bbba 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -1210,7 +1210,8 @@ ghb_prefs_save(GHashTable *settings)
}
}
-void
+#if 0
+static void
dump_key_file(GKeyFile *keyFile, const gchar *section)
{
gint ii;
@@ -1243,6 +1244,7 @@ dump_key_file(GKeyFile *keyFile, const gchar *section)
g_message("no keys");
}
}
+#endif
void
ghb_prefs_load(signal_user_data_t *ud)
@@ -1289,7 +1291,6 @@ ghb_prefs_load(signal_user_data_t *ud)
{
g_key_file_load_from_file( prefsKeyFile, config, G_KEY_FILE_KEEP_COMMENTS, NULL);
}
-dump_key_file(prefsKeyFile, "Preferences");
value = g_key_file_get_value(prefsKeyFile, "Preferences", "version", NULL);
if (value == NULL)
{
@@ -1308,7 +1309,6 @@ dump_key_file(prefsKeyFile, "Preferences");
{
g_debug("Preference: key (%s) -- str (%s)\n", keys[ii], str);
g_key_file_set_value(prefsKeyFile, "Preferences", keys[ii], str);
-g_message("default key (%s) str (%s)", keys[ii], str);
g_free(str);
}
}
@@ -1319,14 +1319,12 @@ g_message("default key (%s) str (%s)", keys[ii], str);
store_key_file(prefsKeyFile, "preferences");
}
g_free(config);
-dump_key_file(prefsKeyFile, "Preferences");
keys = g_key_file_get_keys(internalKeyFile, "Preferences", &length, NULL);
if (keys != NULL)
{
for (ii = 0; keys[ii] != NULL; ii++)
{
value = g_key_file_get_value(prefsKeyFile, "Preferences", keys[ii], NULL);
-g_message("key (%s) value (%s)", keys[ii], value);
if (value != NULL)
{
ghb_settings_set_string(ud->settings, keys[ii], value);