Commit 54d9b7ca authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

disabled debuggind output.

2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c: disabled debuggind output.

	* app/core/gimpdrawable.c (gimp_drawable_init): no need to
	initialize variables twice :)

	* app/widgets/gimpnavigationpreview.c: removed debugging output.
parent db98290b
2002-05-10 Michael Natterer <mitch@gimp.org>
* app/core/gimpcontainer.c: disabled debuggind output.
* app/core/gimpdrawable.c (gimp_drawable_init): no need to
initialize variables twice :)
* app/widgets/gimpnavigationpreview.c: removed debugging output.
2002-05-08 Nathan Summers <rock@gimp.org>
 
* Changelog: (2002-05-06) somehow the Changelog entry for my dbbrower
......
......@@ -31,6 +31,15 @@
#include "gimpmarshal.h"
/* #define DEBUG_CONTAINER */
#ifdef DEBUG_CONTAINER
#define DEBUG(...) g_print(...)
#else
#define DEBUG(...)
#endif
typedef struct _GimpContainerHandler
{
gchar *signame;
......@@ -672,7 +681,7 @@ gimp_container_add_handler (GimpContainer *container,
handler->callback_data = callback_data;
handler->quark = g_quark_from_string (key);
g_print ("%s: key = %s, id = %d\n", G_GNUC_FUNCTION, key, handler->quark);
DEBUG ("%s: key = %s, id = %d\n", G_GNUC_FUNCTION, key, handler->quark);
g_free (key);
......@@ -728,7 +737,7 @@ gimp_container_remove_handler (GimpContainer *container,
return;
}
g_print ("%s: id = %d\n", G_GNUC_FUNCTION, handler->quark);
DEBUG ("%s: id = %d\n", G_GNUC_FUNCTION, handler->quark);
gimp_container_foreach (container,
(GFunc) gimp_container_remove_handler_foreach_func,
......
......@@ -155,8 +155,6 @@ gimp_drawable_init (GimpDrawable *drawable)
drawable->has_alpha = FALSE;
drawable->preview_cache = NULL;
drawable->preview_valid = FALSE;
drawable->preview_cache = NULL;
drawable->preview_valid = FALSE;
}
static void
......
......@@ -389,8 +389,6 @@ gimp_navigation_preview_scroll (GtkWidget *widget,
nav_preview = GIMP_NAVIGATION_PREVIEW (widget);
g_print ("gimp_navigation_preview_scroll(%d)\n", sevent->direction);
if (sevent->state & GDK_SHIFT_MASK)
{
if (sevent->direction == GDK_SCROLL_UP)
......
......@@ -389,8 +389,6 @@ gimp_navigation_preview_scroll (GtkWidget *widget,
nav_preview = GIMP_NAVIGATION_PREVIEW (widget);
g_print ("gimp_navigation_preview_scroll(%d)\n", sevent->direction);
if (sevent->state & GDK_SHIFT_MASK)
{
if (sevent->direction == GDK_SCROLL_UP)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment