summaryrefslogtreecommitdiff
path: root/src/gallery-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2011-06-04 17:30:12 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2011-06-04 17:30:12 +0200
commitfb5a52884dd17d17bab47de7f53c17c05ced6e1b (patch)
treefdb3873d295b615bfb1689c54fb76e3abb4e273f /src/gallery-utils.h
parent960c477148cf832f79e89a4cdf9f3ce3389c7b06 (diff)
downloadcataract-fb5a52884dd17d17bab47de7f53c17c05ced6e1b.tar.xz
Introduce conditional system
This is very basic scripting support - simple value retrieval and block conditionals. Defines could be either static from theme setup or programatically added during page generation.
Diffstat (limited to 'src/gallery-utils.h')
-rw-r--r--src/gallery-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallery-utils.h b/src/gallery-utils.h
index 29c7d8f..4559fa4 100644
--- a/src/gallery-utils.h
+++ b/src/gallery-utils.h
@@ -78,6 +78,11 @@ void log_error (const gchar *format, ...) G_GNUC_PRINTF (1, 2);
*/
gboolean needs_update (const gchar *source, const gchar *dest);
+/*
+ * clone_string_hash_table: clones data from existing string hash table and returns newly-allocated copy
+ */
+GHashTable * clone_string_hash_table (GHashTable *hash_table);
+
G_END_DECLS