Skip to content

Commit

Permalink
Make image_osd_histogram_onoff_toggle() and image_osd_histogram_onoff…
Browse files Browse the repository at this point in the history
…_status() static.
  • Loading branch information
Laurent Monin committed Apr 23, 2008
1 parent addef37 commit 9a8f43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/image-overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ void set_default_image_overlay_template_string(ConfOptions *options)
*/


void image_osd_histogram_onoff_toggle(ImageWindow *imd, gint x)
static void image_osd_histogram_onoff_toggle(ImageWindow *imd, gint x)
{
imd->histogram_enabled = !!(x);
if (imd->histogram_enabled && !imd->histogram)
imd->histogram = histogram_new();
}

gint image_osd_histogram_onoff_status(ImageWindow *imd)
static gint image_osd_histogram_onoff_status(ImageWindow *imd)
{
return imd->histogram_enabled;
}
Expand Down
2 changes: 0 additions & 2 deletions src/image-overlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ void image_osd_update(ImageWindow *imd);

void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration);

void image_osd_histogram_onoff_toggle(ImageWindow *, gint);
gint image_osd_histogram_onoff_status(ImageWindow *);
void image_osd_histogram_chan_toggle(ImageWindow *);
void image_osd_histogram_log_toggle(ImageWindow *);

Expand Down

0 comments on commit 9a8f43f

Please sign in to comment.