Mercurial > geeqie
comparison src/image-overlay.c @ 504:969530d69aac
Make image_osd_histogram_onoff_toggle() and image_osd_histogram_onoff_status() static.
author | zas_ |
---|---|
date | Wed, 23 Apr 2008 23:51:02 +0000 |
parents | e5023cced4e5 |
children | 1149a7b0a3d7 |
comparison
equal
deleted
inserted
replaced
503:e5023cced4e5 | 504:969530d69aac |
---|---|
91 * image histogram | 91 * image histogram |
92 *---------------------------------------------------------------------------- | 92 *---------------------------------------------------------------------------- |
93 */ | 93 */ |
94 | 94 |
95 | 95 |
96 void image_osd_histogram_onoff_toggle(ImageWindow *imd, gint x) | 96 static void image_osd_histogram_onoff_toggle(ImageWindow *imd, gint x) |
97 { | 97 { |
98 imd->histogram_enabled = !!(x); | 98 imd->histogram_enabled = !!(x); |
99 if (imd->histogram_enabled && !imd->histogram) | 99 if (imd->histogram_enabled && !imd->histogram) |
100 imd->histogram = histogram_new(); | 100 imd->histogram = histogram_new(); |
101 } | 101 } |
102 | 102 |
103 gint image_osd_histogram_onoff_status(ImageWindow *imd) | 103 static gint image_osd_histogram_onoff_status(ImageWindow *imd) |
104 { | 104 { |
105 return imd->histogram_enabled; | 105 return imd->histogram_enabled; |
106 } | 106 } |
107 | 107 |
108 void image_osd_histogram_chan_toggle(ImageWindow *imd) | 108 void image_osd_histogram_chan_toggle(ImageWindow *imd) |