gimp r26774 - in trunk: . app/display
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26774 - in trunk: . app/display
- Date: Tue, 26 Aug 2008 17:53:54 +0000 (UTC)
Author: martinn
Date: Tue Aug 26 17:53:54 2008
New Revision: 26774
URL: http://svn.gnome.org/viewvc/gimp?rev=26774&view=rev
Log:
2008-08-26 Martin Nordholts <martinn svn gnome org>
* app/display/gimpdisplayshell-scroll.c
(gimp_display_shell_scroll): If no scroll should be applied we can
return early.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-scroll.c
Modified: trunk/app/display/gimpdisplayshell-scroll.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-scroll.c (original)
+++ trunk/app/display/gimpdisplayshell-scroll.c Tue Aug 26 17:53:54 2008
@@ -94,6 +94,9 @@
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
+ if (x_offset == 0 && y_offset == 0)
+ return;
+
old_x = shell->offset_x;
old_y = shell->offset_y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]