Mercurial > geeqie
comparison src/bar_histogram.c @ 1740:6146ec0c9ab9
Comment out unused functions, silenting related compilation warnings.
author | zas_ |
---|---|
date | Mon, 07 Sep 2009 08:24:09 +0000 |
parents | 0806ccdfe06b |
children | 956aab097ea7 |
comparison
equal
deleted
inserted
replaced
1739:8436cdbc315c | 1740:6146ec0c9ab9 |
---|---|
169 phd->histogram_width = allocation->width; | 169 phd->histogram_width = allocation->width; |
170 phd->histogram_height = allocation->height; | 170 phd->histogram_height = allocation->height; |
171 bar_pane_histogram_update(phd); | 171 bar_pane_histogram_update(phd); |
172 } | 172 } |
173 | 173 |
174 #if 0 | |
174 static void bar_pane_histogram_close(GtkWidget *pane) | 175 static void bar_pane_histogram_close(GtkWidget *pane) |
175 { | 176 { |
176 PaneHistogramData *phd; | 177 PaneHistogramData *phd; |
177 | 178 |
178 phd = g_object_get_data(G_OBJECT(pane), "pane_data"); | 179 phd = g_object_get_data(G_OBJECT(pane), "pane_data"); |
179 if (!phd) return; | 180 if (!phd) return; |
180 | 181 |
181 gtk_widget_destroy(phd->widget); | 182 gtk_widget_destroy(phd->widget); |
182 } | 183 } |
184 #endif | |
183 | 185 |
184 static void bar_pane_histogram_destroy(GtkWidget *widget, gpointer data) | 186 static void bar_pane_histogram_destroy(GtkWidget *widget, gpointer data) |
185 { | 187 { |
186 PaneHistogramData *phd = data; | 188 PaneHistogramData *phd = data; |
187 | 189 |