summaryrefslogtreecommitdiff
path: root/devel/gdl/patches/patch-gdl_gdl-dock-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdl/patches/patch-gdl_gdl-dock-bar.c')
-rw-r--r--devel/gdl/patches/patch-gdl_gdl-dock-bar.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/gdl/patches/patch-gdl_gdl-dock-bar.c b/devel/gdl/patches/patch-gdl_gdl-dock-bar.c
new file mode 100644
index 00000000000..6456c8e7f0c
--- /dev/null
+++ b/devel/gdl/patches/patch-gdl_gdl-dock-bar.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-gdl_gdl-dock-bar.c,v 1.1 2013/10/06 19:59:42 joerg Exp $
+
+--- gdl/gdl-dock-bar.c.orig 2013-09-29 14:01:31.000000000 +0000
++++ gdl/gdl-dock-bar.c
+@@ -484,7 +484,7 @@ GdlDockBarStyle gdl_dock_bar_get_style(G
+ {
+ GdlDockBarStyle style;
+
+- g_return_if_fail (GDL_IS_DOCK_BAR (dockbar));
++ g_return_val_if_fail (GDL_IS_DOCK_BAR (dockbar), GDL_DOCK_BAR_AUTO);
+
+ g_object_get(G_OBJECT(dockbar), "dockbar-style", &style, NULL);
+