comparison src/bar_histogram.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents 0e82a03c165b
children 24a12aa0cb54
comparison
equal deleted inserted replaced
1497:2c54f3f71634 1498:5f49f305a6b6
128 } 128 }
129 129
130 static void bar_pane_histogram_notify_cb(FileData *fd, NotifyType type, gpointer data) 130 static void bar_pane_histogram_notify_cb(FileData *fd, NotifyType type, gpointer data)
131 { 131 {
132 PaneHistogramData *phd = data; 132 PaneHistogramData *phd = data;
133 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_HISTMAP | NOTIFY_PIXBUF)) && fd == phd->fd) bar_pane_histogram_update(phd); 133 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_HISTMAP | NOTIFY_PIXBUF)) && fd == phd->fd)
134 {
135 DEBUG_1("Notify pane_histogram: %s %04x", fd->path, type);
136 bar_pane_histogram_update(phd);
137 }
134 } 138 }
135 139
136 static gboolean bar_pane_histogram_expose_event_cb(GtkWidget *widget, GdkEventExpose *event, gpointer data) 140 static gboolean bar_pane_histogram_expose_event_cb(GtkWidget *widget, GdkEventExpose *event, gpointer data)
137 { 141 {
138 PaneHistogramData *phd = data; 142 PaneHistogramData *phd = data;