gimp r25226 - in trunk: . app/display
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25226 - in trunk: . app/display
- Date: Tue, 25 Mar 2008 14:31:06 +0000 (GMT)
Author: neo
Date: Tue Mar 25 14:31:05 2008
New Revision: 25226
URL: http://svn.gnome.org/viewvc/gimp?rev=25226&view=rev
Log:
2008-03-25 Sven Neumann <sven gimp org>
* app/display/gimpstatusbar.c (gimp_statusbar_peek): fixed
parameter checks.
* app/display/gimpdisplayshell-callbacks.c: formatting.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-callbacks.c
trunk/app/display/gimpstatusbar.c
Modified: trunk/app/display/gimpdisplayshell-callbacks.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-callbacks.c (original)
+++ trunk/app/display/gimpdisplayshell-callbacks.c Tue Mar 25 14:31:05 2008
@@ -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 */
Modified: trunk/app/display/gimpstatusbar.c
==============================================================================
--- trunk/app/display/gimpstatusbar.c (original)
+++ trunk/app/display/gimpstatusbar.c Tue Mar 25 14:31:05 2008
@@ -832,8 +832,8 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]