reassign 441766 libwxgtk2.6-0
thanks,
On Tue, Sep 11, 2007 at 01:47:40AM +0000, brian m. carlson wrote:
> Package: vlc
> Version: 0.8.6.c-3
> Severity: grave
>
> After installing libglib2.0-0 2.14.0 (which I did some time ago), vlc
> now crashes when using any interface using GTK (and hence, glib). I
> checked some time ago and discovered that downgrading libglib2.0-0 (and
> obviously, the corresponding GTK packages) fixed this problem. This
> leads me to believe that this is related to the g_thread_init() issue.
> See e.g. #428854.
This is caused by wxwidgets using the wrong functions to free structures it
got from gtk. The attached patches fixes it for me
Sjoerd
--
Where it is a duty to worship the sun it is pretty sure to be a crime to
examine the laws of heat.
-- Christopher Morley
diff -aur wxwidgets2.6-2.6.3.2.1.5-vanilla/src/gtk/button.cpp wxwidgets2.6-2.6.3.2.1.5/src/gtk/button.cpp
--- wxwidgets2.6-2.6.3.2.1.5-vanilla/src/gtk/button.cpp 2006-05-01 06:38:40.000000000 +0200
+++ wxwidgets2.6-2.6.3.2.1.5/src/gtk/button.cpp 2007-09-22 21:41:32.000000000 +0200
@@ -89,7 +89,7 @@
right_border += default_border->right;
top_border += default_border->top;
bottom_border += default_border->bottom;
- g_free( default_border );
+ gtk_border_free( default_border);
}
#else
left_border = 6;
diff -aur wxwidgets2.6-2.6.3.2.1.5-vanilla/src/gtk/window.cpp wxwidgets2.6-2.6.3.2.1.5/src/gtk/window.cpp
--- wxwidgets2.6-2.6.3.2.1.5-vanilla/src/gtk/window.cpp 2006-05-01 06:38:40.000000000 +0200
+++ wxwidgets2.6-2.6.3.2.1.5/src/gtk/window.cpp 2007-09-22 21:41:32.000000000 +0200
@@ -3276,7 +3276,7 @@
right_border += default_border->right;
top_border += default_border->top;
bottom_border += default_border->bottom;
- g_free( default_border );
+ gtk_border_free(default_border);
}
#else
left_border = 6;