summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 469deb7)
raw | patch | inline | side by side (parent: 469deb7)
author | haa_rodrigues <haa_rodrigues@users.sourceforge.net> | |
Fri, 30 Jun 2006 00:17:06 +0000 (00:17 +0000) | ||
committer | haa_rodrigues <haa_rodrigues@users.sourceforge.net> | |
Fri, 30 Jun 2006 00:17:06 +0000 (00:17 +0000) |
src/sp-filter.cpp | patch | blob | history |
diff --git a/src/sp-filter.cpp b/src/sp-filter.cpp
index b45eb0122743d9be8e10c21535b9f61dce533604..116b132bc8f40f4e27459a9ac92e49215b980cf1 100644 (file)
--- a/src/sp-filter.cpp
+++ b/src/sp-filter.cpp
#define SP_MACROS_SILENT
#include "macros.h"
-#define DEBUG_FILTER
-#ifdef DEBUG_FILTER
-# define debug(f, a...) { g_print("%s(%d) %s:", \
- __FILE__,__LINE__,__FUNCTION__); \
- g_print(f, ## a); \
- g_print("\n"); \
- }
-#else
-# define debug(f, a...) /**/
-#endif
-
/*
* For debugging purposes only
static void
sp_filter_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
{
- debug("0x%p",object);
if (((SPObjectClass *) filter_parent_class)->build) {
((SPObjectClass *) filter_parent_class)->build(object, document, repr);
}
@@ -171,7 +159,6 @@ sp_filter_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *rep
static void
sp_filter_release(SPObject *object)
{
- debug("0x%p",object);
SPFilter *filter = SP_FILTER(object);
if (SP_OBJECT_DOCUMENT(object)) {
static void
sp_filter_set(SPObject *object, unsigned int key, gchar const *value)
{
- debug("0x%p %s(%u): '%s'",object,
- sp_attribute_name(key),key,value);
SPFilter *filter = SP_FILTER(object);
switch (key) {
}
break;
default:
- /* See if any parents need this value. */
+ // See if any parents need this value.
if (((SPObjectClass *) filter_parent_class)->set) {
((SPObjectClass *) filter_parent_class)->set(object, key, value);
}
static void
sp_filter_update(SPObject *object, SPCtx *ctx, guint flags)
{
- debug("0x%p",object);
//SPFilter *filter = SP_FILTER(object);
if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG |
static Inkscape::XML::Node *
sp_filter_write(SPObject *object, Inkscape::XML::Node *repr, guint flags)
{
- debug("0x%p",object);
SPFilter *filter = SP_FILTER(object);
if (!repr) {