Revision: 1435
http://geeqie.svn.sourceforge.net/geeqie/?rev=1435&view=rev
Author: nadvornik
Date: 2009-02-28 17:20:16 +0000 (Sat, 28 Feb 2009)
Log Message:
-----------
fixed bar_histogram headers
Modified Paths:
--------------
trunk/src/bar.c
trunk/src/bar_histogram.c
trunk/src/bar_histogram.h
Modified: trunk/src/bar.c
===================================================================
--- trunk/src/bar.c 2009-02-28 17:12:00 UTC (rev 1434)
+++ trunk/src/bar.c 2009-02-28 17:20:16 UTC (rev 1435)
@@ -27,6 +27,7 @@
#include "bar_keywords.h"
#include "bar_exif.h"
#include "bar_histogram.h"
+#include "histogram.h"
#include "rcfile.h"
#define BAR_SIZE_INCREMENT 48
@@ -259,7 +260,7 @@
static void bar_populate_default(GtkWidget *bar)
{
GtkWidget *widget;
- widget = bar_pane_histogram_new(_("Histogram"), 80, TRUE);
+ widget = bar_pane_histogram_new(_("Histogram"), 80, TRUE, HCHAN_RGB, 0);
bar_add(bar, widget);
widget = bar_pane_comment_new(_("Title"), "Xmp.dc.title", TRUE, 40);
Modified: trunk/src/bar_histogram.c
===================================================================
--- trunk/src/bar_histogram.c 2009-02-28 17:12:00 UTC (rev 1434)
+++ trunk/src/bar_histogram.c 2009-02-28 17:20:16 UTC (rev 1435)
@@ -12,7 +12,7 @@
#include "main.h"
-#include "bar_comment.h"
+#include "bar_histogram.h"
#include "bar.h"
#include "metadata.h"
@@ -327,7 +327,7 @@
}
-GtkWidget *bar_pane_histogram_new(const gchar *title, gint height, gint
expanded, gint histogram_channel, gint histogram_mode)
+GtkWidget *bar_pane_histogram_new(const gchar *title, gint height, gboolean
expanded, gint histogram_channel, gint histogram_mode)
{
PaneHistogramData *phd;
Modified: trunk/src/bar_histogram.h
===================================================================
--- trunk/src/bar_histogram.h 2009-02-28 17:12:00 UTC (rev 1434)
+++ trunk/src/bar_histogram.h 2009-02-28 17:20:16 UTC (rev 1435)
@@ -14,7 +14,7 @@
#ifndef BAR_HISTOGRAM_H
#define BAR_HISTOGRAM_H
-GtkWidget *bar_pane_histogram_new(const gchar *title, gint height, gboolean
expanded);
+GtkWidget *bar_pane_histogram_new(const gchar *title, gint height, gboolean
expanded, gint histogram_channel, gint histogram_mode);
GtkWidget *bar_pane_histogram_new_from_config(const gchar **attribute_names,
const gchar **attribute_values);
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn