aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.cc
diff options
context:
space:
mode:
authorJeremy Henty <onepoint@starurchin.org>2013-01-14 07:21:51 +0000
committerJeremy Henty <onepoint@starurchin.org>2013-01-14 07:21:51 +0000
commit95adbd2369b0d23cc6b286500a10381c76117967 (patch)
tree4930b488cadcb661008b7a538a489499565621d8 /dw/widget.cc
parent927887827f2a440f1f1b39e58d87b12154098d4a (diff)
Remove ancient commented-out GTK code.
Diffstat (limited to 'dw/widget.cc')
-rw-r--r--dw/widget.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index 1d9f96e4..0027489c 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -127,11 +127,6 @@ void Widget::queueResize (int ref, bool extremesChanged)
{
Widget *widget2, *child;
- //DEBUG_MSG (DEBUG_SIZE,
- // "a %stop-level %s with parent_ref = %d has changed its size\n",
- // widget->parent ? "non-" : "",
- // gtk_type_name (GTK_OBJECT_TYPE (widget)), widget->parent_ref);
-
setFlags (NEEDS_RESIZE);
setFlags (NEEDS_ALLOCATE);
markSizeChange (ref);
@@ -148,13 +143,6 @@ void Widget::queueResize (int ref, bool extremesChanged)
widget2->markSizeChange (child->parentRef);
widget2->setFlags (NEEDS_ALLOCATE);
- //DEBUG_MSG (DEBUG_ALLOC,
- // "setting DW_NEEDS_ALLOCATE for a %stop-level %s "
- // "with parent_ref = %d\n",
- // widget2->parent ? "non-" : "",
- // gtk_type_name (GTK_OBJECT_TYPE (widget2)),
- // widget2->parent_ref);
-
if (extremesChanged) {
widget2->setFlags (EXTREMES_CHANGED);
widget2->markExtremesChange (child->parentRef);
@@ -214,15 +202,6 @@ void Widget::sizeAllocate (Allocation *allocation)
allocation->ascent != this->allocation.ascent ||
allocation->descent != this->allocation.descent) {
- //DEBUG_MSG (DEBUG_ALLOC,
- // "a %stop-level %s with parent_ref = %d is newly allocated "
- // "from %d, %d, %d x %d x %d ...\n",
- // widget->parent ? "non-" : "",
- // (GTK_OBJECT_TYPE_NAME (widget), widget->parent_ref,
- // widget->allocation.x, widget->allocation.y,
- // widget->allocation.width, widget->allocation.ascent,
- // widget->allocation.descent);
-
if (wasAllocated ()) {
layout->queueDrawExcept (
this->allocation.x,
@@ -507,12 +486,6 @@ Widget *Widget::getWidgetAtPoint (int x, int y, int level)
Iterator *it;
Widget *childAtPoint;
- //_MSG ("%*s-> examining the %s %p (%d, %d, %d x (%d + %d))\n",
- // 3 * level, "", gtk_type_name (GTK_OBJECT_TYPE (widget)), widget,
- // allocation.x, allocation.y,
- // allocation.width, allocation.ascent,
- // allocation.descent);
-
if (x >= allocation.x &&
y >= allocation.y &&
x <= allocation.x + allocation.width &&