[Rawstudio-commit] r2017 - trunk/src
Anders Brander
anders at brander.dk
Wed Sep 17 23:20:39 CEST 2008
Author: abrander
Date: 2008-09-17 23:20:39 +0200 (Wed, 17 Sep 2008)
New Revision: 2017
Modified:
trunk/src/rs-batch.c
trunk/src/rs-batch.h
Log:
Renamed batch_exists_in_queue() to rs_batch_exists_in_queue() and made it extern.
Modified: trunk/src/rs-batch.c
===================================================================
--- trunk/src/rs-batch.c 2008-09-17 21:06:22 UTC (rev 2016)
+++ trunk/src/rs-batch.c 2008-09-17 21:20:39 UTC (rev 2017)
@@ -37,7 +37,6 @@
extern GtkWindow *rawstudio_window;
-static gboolean batch_exists_in_queue(RS_QUEUE *queue, const gchar *filename, gint setting_id);
static GtkWidget *make_batchview(RS_QUEUE *queue);
static void size_update_infolabel(RS_QUEUE *queue);
static gchar *batch_queue_filename = NULL;
@@ -203,7 +202,7 @@
rs_batch_add_to_queue(RS_QUEUE *queue, const gchar *filename, const gint setting_id)
{
gboolean ret = FALSE;
- if (!batch_exists_in_queue(queue, filename, setting_id))
+ if (!rs_batch_exists_in_queue(queue, filename, setting_id))
{
gchar *filename_short, *setting_id_abc;
RS_FILETYPE *filetype;
@@ -262,7 +261,7 @@
}
g_object_unref(missing_thumb);
- if (!batch_exists_in_queue(queue, filename, setting_id))
+ if (!rs_batch_exists_in_queue(queue, filename, setting_id))
{
GtkTreeIter iter;
@@ -327,8 +326,8 @@
return ret;
}
-static gboolean
-batch_exists_in_queue(RS_QUEUE *queue, const gchar *filename, gint setting_id)
+gboolean
+rs_batch_exists_in_queue(RS_QUEUE *queue, const gchar *filename, gint setting_id)
{
gboolean ret = FALSE;
GtkTreeIter iter;
Modified: trunk/src/rs-batch.h
===================================================================
--- trunk/src/rs-batch.h 2008-09-17 21:06:22 UTC (rev 2016)
+++ trunk/src/rs-batch.h 2008-09-17 21:20:39 UTC (rev 2017)
@@ -62,6 +62,7 @@
extern RS_QUEUE* rs_batch_new_queue(void);
extern gboolean rs_batch_add_to_queue(RS_QUEUE *queue, const gchar *filename, const gint setting_id);
extern gboolean rs_batch_remove_from_queue(RS_QUEUE *queue, const gchar *filename, gint setting_id);
+extern gboolean rs_batch_exists_in_queue(RS_QUEUE *queue, const gchar *filename, gint setting_id);
extern void rs_batch_process(RS_QUEUE *queue);
extern GtkWidget *make_batchbox(RS_QUEUE *queue);
More information about the Rawstudio-commit
mailing list