Mercurial > geeqie
comparison src/bar_histogram.c @ 1419:c520cfd40aef
Code cleanup.
author | zas_ |
---|---|
date | Wed, 11 Mar 2009 23:36:01 +0000 |
parents | c44f21235ffe |
children | 2441a90c4bcf |
comparison
equal
deleted
inserted
replaced
1418:1817f5178db3 | 1419:c520cfd40aef |
---|---|
121 WRITE_INT(*phd->histogram, histogram_mode); | 121 WRITE_INT(*phd->histogram, histogram_mode); |
122 indent--; | 122 indent--; |
123 WRITE_STRING("/>\n"); | 123 WRITE_STRING("/>\n"); |
124 } | 124 } |
125 | 125 |
126 | |
127 static void bar_pane_histogram_notify_cb(FileData *fd, NotifyType type, gpointer data) | 126 static void bar_pane_histogram_notify_cb(FileData *fd, NotifyType type, gpointer data) |
128 { | 127 { |
129 PaneHistogramData *phd = data; | 128 PaneHistogramData *phd = data; |
130 if (fd == phd->fd) bar_pane_histogram_update(phd); | 129 if (fd == phd->fd) bar_pane_histogram_update(phd); |
131 } | 130 } |
388 if (READ_CHAR_FULL("pane.title", title)) continue; | 387 if (READ_CHAR_FULL("pane.title", title)) continue; |
389 if (READ_BOOL_FULL("pane.expanded", expanded)) continue; | 388 if (READ_BOOL_FULL("pane.expanded", expanded)) continue; |
390 if (READ_INT_FULL("histogram_channel", histogram_channel)) continue; | 389 if (READ_INT_FULL("histogram_channel", histogram_channel)) continue; |
391 if (READ_INT_FULL("histogram_mode", histogram_mode)) continue; | 390 if (READ_INT_FULL("histogram_mode", histogram_mode)) continue; |
392 | 391 |
393 | |
394 DEBUG_1("unknown attribute %s = %s", option, value); | 392 DEBUG_1("unknown attribute %s = %s", option, value); |
395 } | 393 } |
396 | 394 |
397 return bar_pane_histogram_new(title, height, expanded, histogram_channel, histogram_mode); | 395 return bar_pane_histogram_new(title, height, expanded, histogram_channel, histogram_mode); |
398 } | 396 } |
399 | 397 |
400 | |
401 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ | 398 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |