Add debugging information

This commit is contained in:
Pierre Pronchery 2018-10-24 15:07:02 +01:00
parent 32276980e3
commit f82578cf64

View File

@ -29,6 +29,9 @@
#ifdef DEBUG
# include <stdio.h>
#endif
#include <string.h>
#include <gtk/gtk.h>
#include <System.h>
@ -62,6 +65,9 @@ DesktopIconWindow * desktopiconwindow_new(DesktopIcon * icon)
| GDK_HINT_BASE_SIZE;
GtkWidget * widget;
#ifdef DEBUG
fprintf(stderr, "DEBUG: %s(%p)\n", __func__, icon);
#endif
if((window = object_new(sizeof(*window))) == NULL)
return NULL;
/* window */