projects
/
livewp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed additional string
[livewp]
/
applet
/
src
/
livewp-settings.c
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");