summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}