From 75a9722aa14784e70c49b988ce28589eceb752e3 Mon Sep 17 00:00:00 2001 From: Gian Mario Tagliaretti Date: Tue, 20 May 2008 17:43:01 +0000 Subject: [PATCH] Fix the docs, the mask param of gtk_drag_set_icon_pixmap can accept NULL for none. Fixes bug #533920. svn path=/trunk/; revision=20119 --- ChangeLog | 5 +++++ gtk/gtkdnd.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ddacfd725f..dec743a18d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-20 Gian Mario Tagliaretti + + * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param + can accept NULL for none. Fixes bug #533920. + 2008-05-20 Björn Lindqvist * gtk/gtkspinbutton.c: (gtk_spin_button_snap, diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 87f4db43f1..1b1a9aa70d 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -3095,7 +3095,7 @@ gtk_drag_set_icon_stock (GdkDragContext *context, * with a context for the source side of a drag) * @colormap: the colormap of the icon * @pixmap: the image data for the icon - * @mask: the transparency mask for the icon + * @mask: the transparency mask for the icon or %NULL for none. * @hot_x: the X offset within @pixmap of the hotspot. * @hot_y: the Y offset within @pixmap of the hotspot. *