gimp r27418 - in trunk: . app/tools



Author: neo
Date: Sun Oct 26 16:36:01 2008
New Revision: 27418
URL: http://svn.gnome.org/viewvc/gimp?rev=27418&view=rev

Log:
2008-10-26  Sven Neumann  <sven gimp org>

	* app/tools/gimptool.c (gimp_tool_get_popup): added
	missing return value.



Modified:
   trunk/ChangeLog
   trunk/app/tools/gimptool.c

Modified: trunk/app/tools/gimptool.c
==============================================================================
--- trunk/app/tools/gimptool.c	(original)
+++ trunk/app/tools/gimptool.c	Sun Oct 26 16:36:01 2008
@@ -859,10 +859,10 @@
                      GimpDisplay      *display,
                      const gchar     **ui_path)
 {
-  g_return_if_fail (GIMP_IS_TOOL (tool));
-  g_return_if_fail (coords != NULL);
-  g_return_if_fail (GIMP_IS_DISPLAY (display));
-  g_return_if_fail (ui_path != NULL);
+  g_return_val_if_fail (GIMP_IS_TOOL (tool), NULL);
+  g_return_val_if_fail (coords != NULL, NULL);
+  g_return_val_if_fail (GIMP_IS_DISPLAY (display), NULL);
+  g_return_val_if_fail (ui_path != NULL, NULL);
 
   return GIMP_TOOL_GET_CLASS (tool)->get_popup (tool, coords, state, display,
                                                 ui_path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]