diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-24 19:46:07 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-24 19:46:07 +0100 |
commit | 0b5b7c6c6ee5e54db11d2bb4f4122da0e5ddd02d (patch) | |
tree | 0ea8e0f61456f3436510fe4f57a99224e7544569 | |
parent | d5bf20dcf5ea8945b21c09f988f17e00d016c02c (diff) |
gtkui: don't print "widget is not registered" warning
-rw-r--r-- | plugins/gtkui/widgets.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gtkui/widgets.c b/plugins/gtkui/widgets.c index ec18b804..b8e94810 100644 --- a/plugins/gtkui/widgets.c +++ b/plugins/gtkui/widgets.c @@ -40,6 +40,9 @@ #include "../../optmath.h" #include "actions.h" +//#define trace(...) { fprintf(stderr, __VA_ARGS__); } +#define trace(fmt,...) + #define min(x,y) ((x)<(y)?(x):(y)) #define max(x,y) ((x)>(y)?(x):(y)) @@ -717,7 +720,7 @@ w_unreg_widget (const char *type) { } prev = c; } - fprintf (stderr, "gtkui w_unreg_widget: widget type %s is not registered\n", type); + trace ("gtkui w_unreg_widget: widget type %s is not registered\n", type); } int |