The return value of gimp_display_shell_scroll() is not used anywhere, make

2008-07-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scroll.[ch]: The return value of
	gimp_display_shell_scroll() is not used anywhere, make it void.

svn path=/trunk/; revision=26109
This commit is contained in:
Martin Nordholts
2008-07-10 18:44:30 +00:00
committed by Martin Nordholts
parent 874870be13
commit abd52cc491
3 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2008-07-10 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scroll.[ch]: The return value of
gimp_display_shell_scroll() is not used anywhere, make it void.
2008-07-10 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-pdb.c: Allow None to be passed for

View File

@ -35,7 +35,7 @@
#include "gimpdisplayshell-scroll.h"
gboolean
void
gimp_display_shell_scroll (GimpDisplayShell *shell,
gint x_offset,
gint y_offset)
@ -43,7 +43,7 @@ gimp_display_shell_scroll (GimpDisplayShell *shell,
gint old_x;
gint old_y;
g_return_val_if_fail (GIMP_IS_DISPLAY_SHELL (shell), FALSE);
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
old_x = shell->offset_x;
old_y = shell->offset_y;
@ -80,11 +80,7 @@ gimp_display_shell_scroll (GimpDisplayShell *shell,
gimp_display_shell_resume (shell);
gimp_display_shell_scrolled (shell);
return TRUE;
}
return FALSE;
}
void

View File

@ -20,7 +20,7 @@
#define __GIMP_DISPLAY_SHELL_SCROLL_H__
gboolean gimp_display_shell_scroll (GimpDisplayShell *shell,
void gimp_display_shell_scroll (GimpDisplayShell *shell,
gint x_offset,
gint y_offset);