projects
/
livewp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70156ab
)
fixed additional string
author
Vlad
<vlad@gas.by>
Wed, 29 Sep 2010 07:57:18 +0000
(10:57 +0300)
committer
Vlad
<vlad@gas.by>
Wed, 29 Sep 2010 07:57:18 +0000
(10:57 +0300)
applet/src/livewp-settings.c
patch
|
blob
|
history
diff --git
a/applet/src/livewp-settings.c
b/applet/src/livewp-settings.c
index
c64de87
..
30857e1
100644
(file)
--- a/
applet/src/livewp-settings.c
+++ b/
applet/src/livewp-settings.c
@@
-844,6
+844,11
@@
lw_theme_settings(GtkWidget *button, Animation_WallpaperPrivate *priv) {
}
}
#endif
}
}
#endif
+ if (priv->theme_string_parametr1){
+ g_free(priv->theme_string_parametr1);
+ priv->theme_string_parametr1 = NULL;
+ }
+
if (priv->theme)
g_free(priv->theme);
if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Berlin")))
if (priv->theme)
g_free(priv->theme);
if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Berlin")))
@@
-858,8
+863,6
@@
lw_theme_settings(GtkWidget *button, Animation_WallpaperPrivate *priv) {
priv->theme = g_strdup("Video");
button1 = g_object_get_data(G_OBJECT(priv->window), "filename_button");
if (button1){
priv->theme = g_strdup("Video");
button1 = g_object_get_data(G_OBJECT(priv->window), "filename_button");
if (button1){
- if (priv->theme_string_parametr1)
- g_free(priv->theme_string_parametr1);
priv->theme_string_parametr1 = g_strdup((gchar*)hildon_button_get_value (HILDON_BUTTON(button1)));
}
temp_button = g_object_get_data(G_OBJECT(priv->window), "smoothing_button");
priv->theme_string_parametr1 = g_strdup((gchar*)hildon_button_get_value (HILDON_BUTTON(button1)));
}
temp_button = g_object_get_data(G_OBJECT(priv->window), "smoothing_button");