* 092_notebook-critical-warnings.patch: Fix removal of tab labels to not
ref and unref a NULL pointer. Patch from upstream SVN, see BGO #388321. * 093_directfb-type-changes.patch: Define __u32 and __u8 to fix compilation with latest directfb from unstable while still supporting older versions. Patch from BGO #503190.
This commit is contained in:
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
||||
gtk+2.0 (2.12.3-2) unstable; urgency=low
|
||||
|
||||
* 092_notebook-critical-warnings.patch: Fix removal of tab labels to not
|
||||
ref and unref a NULL pointer. Patch from upstream SVN, see BGO #388321.
|
||||
* 093_directfb-type-changes.patch: Define __u32 and __u8 to fix compilation
|
||||
with latest directfb from unstable while still supporting older versions.
|
||||
Patch from BGO #503190.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Wed, 12 Dec 2007 05:36:40 +0100
|
||||
|
||||
gtk+2.0 (2.12.3-1) unstable; urgency=low
|
||||
|
||||
* Let update-icon-caches skip args which are not dirs or don't exist; fixes
|
||||
|
25
debian/patches/092_notebook-critical-warnings.patch
vendored
Normal file
25
debian/patches/092_notebook-critical-warnings.patch
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
--- gtk-2-12/gtk/gtknotebook.c 2007/12/10 06:19:53 19139
|
||||
+++ gtk-2-12/gtk/gtknotebook.c 2007/12/10 06:21:51 19140
|
||||
@@ -4349,12 +4349,15 @@
|
||||
gtk_widget_unparent (page->child);
|
||||
|
||||
tab_label = page->tab_label;
|
||||
- g_object_ref (tab_label);
|
||||
- gtk_notebook_remove_tab_label (notebook, page);
|
||||
- if (destroying)
|
||||
- gtk_widget_destroy (tab_label);
|
||||
- g_object_unref (tab_label);
|
||||
-
|
||||
+ if (tab_label)
|
||||
+ {
|
||||
+ g_object_ref (tab_label);
|
||||
+ gtk_notebook_remove_tab_label (notebook, page);
|
||||
+ if (destroying)
|
||||
+ gtk_widget_destroy (tab_label);
|
||||
+ g_object_unref (tab_label);
|
||||
+ }
|
||||
+
|
||||
if (notebook->menu)
|
||||
{
|
||||
gtk_container_remove (GTK_CONTAINER (notebook->menu),
|
||||
|
24
debian/patches/093_directfb-type-changes.patch
vendored
Normal file
24
debian/patches/093_directfb-type-changes.patch
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
Index: gtk+/gdk/directfb/gdkcursor-directfb.c
|
||||
===================================================================
|
||||
--- gtk+/gdk/directfb/gdkcursor-directfb.c (Revision 19163)
|
||||
+++ gtk+/gdk/directfb/gdkcursor-directfb.c (Arbeitskopie)
|
||||
@@ -39,6 +39,19 @@
|
||||
|
||||
#include "x-cursors.xbm"
|
||||
|
||||
+
|
||||
+/* Workaround for DirectFB >= 1.0.0-rc2 not
|
||||
+ * defining __u32 anymore when DIRECTFB_NO_CRUFT
|
||||
+ * is set, which is the default on Debian systems.
|
||||
+ */
|
||||
+#ifndef __u32
|
||||
+#define __u32 u32
|
||||
+#endif
|
||||
+
|
||||
+#ifndef __u8
|
||||
+#define __u8 u8
|
||||
+#endif
|
||||
+
|
||||
static struct {
|
||||
const guchar *bits;
|
||||
int width, height, hotx, hoty;
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -20,3 +20,5 @@
|
||||
060_ignore-random-icons.patch
|
||||
070_mandatory-relibtoolize.patch
|
||||
091_workaround_no_gtk_init_incorrect_display.patch
|
||||
092_notebook-critical-warnings.patch
|
||||
093_directfb-type-changes.patch
|
||||
|
Reference in New Issue
Block a user