Commit 3f43ea08 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fixed parameter checks.

2008-03-25  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_peek): fixed
	parameter checks.

	* app/display/gimpdisplayshell-callbacks.c: formatting.

svn path=/trunk/; revision=25226
parent 8056a22d
2008-03-25 Sven Neumann <sven@gimp.org>
* app/display/gimpstatusbar.c (gimp_statusbar_peek): fixed
parameter checks.
* app/display/gimpdisplayshell-callbacks.c: formatting.
2008-03-25 Sven Neumann <sven@gimp.org>
* app/display/gimpstatusbar.[ch]: added gimp_statusbar_peek(), a
......
......@@ -80,7 +80,8 @@
#define DEFAULT_EVENT_SMOOTHING 0.98
#define DEFAULT_EVENT_FILTER 0.5
#define DEFAULT_EVENT_FILTER 0.50
/* local function prototypes */
......
......@@ -832,8 +832,8 @@ gimp_statusbar_peek (GimpStatusbar *statusbar,
GSList *list;
guint context_id;
g_return_if_fail (GIMP_IS_STATUSBAR (statusbar));
g_return_if_fail (context != NULL);
g_return_val_if_fail (GIMP_IS_STATUSBAR (statusbar), NULL);
g_return_val_if_fail (context != NULL, NULL);
context_id = gimp_statusbar_get_context_id (statusbar, context);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment