[Xfce4-commits] r25733 - in thunar/trunk: . thunar
Benedikt Meurer
benny at xfce.org
Sun May 20 16:31:54 CEST 2007
Author: benny
Date: 2007-05-20 14:31:54 +0000 (Sun, 20 May 2007)
New Revision: 25733
Modified:
thunar/trunk/ChangeLog
thunar/trunk/thunar/thunar-preferences.c
Log:
2007-05-20 Benedikt Meurer <benny at xfce.org>
* thunar/thunar-preferences.c(thunar_preferences_set_property):
Properly initialize value to its default prior to comparing
with a (probably) new value.
Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog 2007-05-20 14:07:15 UTC (rev 25732)
+++ thunar/trunk/ChangeLog 2007-05-20 14:31:54 UTC (rev 25733)
@@ -1,5 +1,11 @@
2007-05-20 Benedikt Meurer <benny at xfce.org>
+ * thunar/thunar-preferences.c(thunar_preferences_set_property):
+ Properly initialize value to its default prior to comparing
+ with a (probably) new value.
+
+2007-05-20 Benedikt Meurer <benny at xfce.org>
+
* plugins/thunar-uca/thunar-uca-editor.c: Properly quote files
selected via the file chooser if necessary. Bug #3105.
Modified: thunar/trunk/thunar/thunar-preferences.c
===================================================================
--- thunar/trunk/thunar/thunar-preferences.c 2007-05-20 14:07:15 UTC (rev 25732)
+++ thunar/trunk/thunar/thunar-preferences.c 2007-05-20 14:31:54 UTC (rev 25733)
@@ -731,7 +731,10 @@
dst = preferences->values + prop_id;
if (G_UNLIKELY (!G_IS_VALUE (dst)))
- g_value_init (dst, pspec->value_type);
+ {
+ g_value_init (dst, pspec->value_type);
+ g_param_value_set_default (pspec, dst);
+ }
if (g_param_values_cmp (pspec, value, dst) != 0)
{
More information about the Xfce4-commits
mailing list