From ab971d15504763d2016c4385c99e4daa85d1e051 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <mani@lysator.liu.se>
Date: Fri, 30 Dec 2005 01:06:57 +0100
Subject: [PATCH] Use SIMPLE_TOO_FEW_ARGS_ERROR

Rev: src/post_modules/GTK2/source/gdkdragcontext.pre:1.3
---
 src/post_modules/GTK2/source/gdkdragcontext.pre | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/post_modules/GTK2/source/gdkdragcontext.pre b/src/post_modules/GTK2/source/gdkdragcontext.pre
index 204ef6de94..8d50ef3cae 100644
--- a/src/post_modules/GTK2/source/gdkdragcontext.pre
+++ b/src/post_modules/GTK2/source/gdkdragcontext.pre
@@ -97,7 +97,7 @@ void drag_set_icon_pixmap(GDK2.Pixmap p, GDK2.Bitmap b, int hot_x, int hot_y )
   struct object *p=NULL,*m=NULL;
   int x,y;
   if (args!=4)
-    Pike_error("Too few arguments to drag_set_icon_pixmap\n");
+    SIMPLE_TOO_FEW_ARGS_ERROR("drag_set_icon_pixmap", 4);
   if (Pike_sp[-args].type==PIKE_T_OBJECT)
     p=Pike_sp[-args].u.object;
   if (Pike_sp[-args+1].type==PIKE_T_OBJECT)
-- 
GitLab