mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
disabled debugging output when pushing/popping the move too using <space>.
2004-03-10 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-callbacks.c: disabled debugging output when pushing/popping the move too using <space>.
This commit is contained in:
parent
70671753ae
commit
4f59b04454
|
@ -1,3 +1,8 @@
|
|||
2004-03-10 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c: disabled debugging
|
||||
output when pushing/popping the move too using <space>.
|
||||
|
||||
2004-03-10 Simon Budig <simon@gimp.org>
|
||||
|
||||
* app/base/cpu-accel.c
|
||||
|
|
|
@ -71,6 +71,9 @@
|
|||
#include "gimp-intl.h"
|
||||
|
||||
|
||||
/* #define DEBUG_MOVE_PUSH 1 */
|
||||
|
||||
|
||||
/* local function prototypes */
|
||||
|
||||
static void gimp_display_shell_vscrollbar_update (GtkAdjustment *adjustment,
|
||||
|
@ -758,7 +761,9 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
|
||||
if (shell->space_release_pending)
|
||||
{
|
||||
g_print ("%s: popping move tool\n", G_GNUC_FUNCTION);
|
||||
#ifdef DEBUG_MOVE_PUSH
|
||||
g_printerr ("%s: popping move tool\n", G_GNUC_FUNCTION);
|
||||
#endif
|
||||
|
||||
gimp_context_set_tool (gimp_get_user_context (gimp),
|
||||
space_shaded_tool);
|
||||
|
@ -1066,7 +1071,9 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
|
||||
if (GIMP_IS_TOOL_INFO (move_tool_info))
|
||||
{
|
||||
g_print ("%s: pushing move tool\n", G_GNUC_FUNCTION);
|
||||
#ifdef DEBUG_MOVE_PUSH
|
||||
g_printerr ("%s: pushing move tool\n", G_GNUC_FUNCTION);
|
||||
#endif
|
||||
|
||||
space_shaded_tool = active_tool->tool_info;
|
||||
|
||||
|
@ -1151,7 +1158,9 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
case GDK_space:
|
||||
if (shell->space_pressed)
|
||||
{
|
||||
g_print ("%s: popping move tool\n", G_GNUC_FUNCTION);
|
||||
#ifdef DEBUG_MOVE_PUSH
|
||||
g_printerr ("%s: popping move tool\n", G_GNUC_FUNCTION);
|
||||
#endif
|
||||
|
||||
gimp_context_set_tool (gimp_get_user_context (gimp),
|
||||
space_shaded_tool);
|
||||
|
|
Loading…
Reference in a new issue