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.
This commit is contained in:
Michael Natterer 2002-05-10 12:38:41 +00:00 committed by Michael Natterer
parent db98290bef
commit 54d9b7ca29
5 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -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,

View File

@ -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

View File

@ -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)

View File

@ -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)