use the gimp_display_shell_selection_control() wrapper instead of calling

2003-07-29  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_ants_speed_notify_handler): use the
	gimp_display_shell_selection_control() wrapper instead of
	calling gimp_display_shell_selection_*() functions directly.
	Don't #include "gimpdisplayshell-selection.h".
This commit is contained in:
Michael Natterer 2003-07-29 16:16:03 +00:00 committed by Michael Natterer
parent d9440b4136
commit bd457be1c7
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2003-07-29 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_ants_speed_notify_handler): use the
gimp_display_shell_selection_control() wrapper instead of
calling gimp_display_shell_selection_*() functions directly.
Don't #include "gimpdisplayshell-selection.h".
2003-07-29 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-callbacks.c

View File

@ -37,7 +37,6 @@
#include "gimpdisplayshell-callbacks.h"
#include "gimpdisplayshell-handlers.h"
#include "gimpdisplayshell-scale.h"
#include "gimpdisplayshell-selection.h"
#include "gimpdisplayshell-title.h"
#include "gimpstatusbar.h"
@ -531,8 +530,8 @@ gimp_display_shell_ants_speed_notify_handler (GObject *config,
GParamSpec *param_spec,
GimpDisplayShell *shell)
{
gimp_display_shell_selection_pause (shell->select);
gimp_display_shell_selection_resume (shell->select);
gimp_display_shell_selection_visibility (shell, GIMP_SELECTION_PAUSE);
gimp_display_shell_selection_visibility (shell, GIMP_SELECTION_RESUME);
}
static gboolean