summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-22 14:56:48 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-22 14:56:48 +0200
commitff0d143f031a9c2b581403d1257c06a70054bb4c (patch)
tree6567293a2744f1a6905a9c50fca4ef2a35857c5c /plugins
parentf0eccad340e43f70a5629a65e0ce5d1aed86e6d1 (diff)
disable tracing in listview code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/ddblistview.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c
index 806f8fdf..3ddd3568 100644
--- a/plugins/gtkui/ddblistview.c
+++ b/plugins/gtkui/ddblistview.c
@@ -28,7 +28,6 @@
#include <stdlib.h>
#include <time.h>
#include <string.h>
-#include <assert.h>
#include <unistd.h>
#include <ctype.h>
#include <assert.h>
@@ -709,7 +708,7 @@ ddb_listview_list_expose_event (GtkWidget *widget,
void
ddb_listview_list_expose (DdbListview *listview, int x, int y, int w, int h) {
- printf ("listview height: %d\n", listview->list->allocation.height);
+// printf ("listview height: %d\n", listview->list->allocation.height);
GtkWidget *widget = listview->list;
if (widget->window && listview->backbuf) {
draw_drawable (widget->window, widget->style->black_gc, listview->backbuf, x, y, x, y, w, h);
@@ -981,9 +980,9 @@ draw_drawable (GdkDrawable *window, GdkGC *gc, GdkDrawable *drawable, int x1, in
gint width2, height2;
gdk_drawable_get_size (window, &width1, &height1);
gdk_drawable_get_size (drawable, &width2, &height2);
- assert (y1 >= 0 || y1 + h < height2);
- assert (y2 >= 0 || y2 + h < height1);
- printf ("dd: %p %p %p %d %d %d %d %d %d\n", window, gc, drawable, x1, y1, x2, y2, w, h);
+// assert (y1 >= 0 && y1 + h < height2);
+// assert (y2 >= 0 && y2 + h < height1);
+// printf ("dd: %p %p %p %d %d %d %d %d %d\n", window, gc, drawable, x1, y1, x2, y2, w, h);
gdk_draw_drawable (window, gc, drawable, x1, y1, x2, y2, w, h);
}