patch didn't worked here :/
ok, fixed the paris crasher and then while pbuilding discovered the old one again - which I did not
see in a while, but I dont use the plugin so understandable :). Happens when the theme is changed.
Yves-Alexis, these should work in debian too. Looks like the patch in goodies bugzilla was ok just missed
another similar g_free().
Jani
diff -Nur xfce4-weather-plugin-0.5.0/panel-plugin/http_client.c xfce4-weather-plugin-0.5.0.new/panel-plugin/http_client.c
--- xfce4-weather-plugin-0.5.0/panel-plugin/http_client.c 2005-10-10 12:30:29.000000000 +0300
+++ xfce4-weather-plugin-0.5.0.new/panel-plugin/http_client.c 2006-04-28 23:04:23.000000000 +0300
@@ -88,7 +88,7 @@
if (*request->save_buffer)
{
gchar *newbuff = g_strconcat(*request->save_buffer,
- buffer);
+ buffer, NULL);
g_free(*request->save_buffer);
*request->save_buffer = newbuff;
}
diff -Nur xfce4-weather-plugin-0.5.0/panel-plugin/scrollbox.c xfce4-weather-plugin-0.5.0.new/panel-plugin/scrollbox.c
--- xfce4-weather-plugin-0.5.0/panel-plugin/scrollbox.c 2005-10-10 10:53:11.000000000 +0300
+++ xfce4-weather-plugin-0.5.0.new/panel-plugin/scrollbox.c 2006-04-28 23:48:20.000000000 +0300
@@ -17,7 +17,7 @@
void free_label(struct label *lbl)
{
if (lbl->pixmap)
- g_free(lbl->pixmap);
+ g_object_unref(lbl->pixmap);
if (lbl->msg)
g_free(lbl->msg);
}
@@ -278,7 +278,7 @@
{
struct label *lbl = (struct label*)g_ptr_array_index(self->labels, i);
- g_free(lbl->pixmap);
+ g_object_unref(lbl->pixmap);
g_free(lbl->msg);
}
g_ptr_array_free(self->labels, TRUE);
@@ -310,7 +310,7 @@
newpixmap = make_pixmap(self, lbl->msg);
if (lbl->pixmap)
- g_free(lbl->pixmap);
+ g_object_unref(lbl->pixmap);
lbl->pixmap = newpixmap;
}
-- xubuntu-devel mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel
