1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/x11-toolkits/gdl/files/patch-gdl__gdl-dock-item.c
Jeremy Messenger c9eebe3ab4 Fix the build with clang.
PR:		ports/166225
Submitted by:	Shane Ambler <FreeBSD@Shaneware.biz>
Reviewed by:	marcus
Feature safe:	yes
2012-03-25 02:14:55 +00:00

12 lines
388 B
C

--- ./gdl/gdl-dock-item.c.orig 2012-03-19 01:15:14.000000000 +1030
+++ ./gdl/gdl-dock-item.c 2012-03-19 01:15:55.000000000 +1030
@@ -1816,7 +1816,7 @@
GtkWidget *
gdl_dock_item_get_grip(GdlDockItem *item)
{
- g_return_if_fail (item != NULL);
+ g_return_val_if_fail (item != NULL, NULL);
g_return_val_if_fail (GDL_IS_DOCK_ITEM (item), NULL);
return item->_priv->grip;