aboutsummaryrefslogtreecommitdiff
path: root/hardinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo.h')
-rw-r--r--hardinfo.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/hardinfo.h b/hardinfo.h
index 97d3aeea..b621cbc9 100644
--- a/hardinfo.h
+++ b/hardinfo.h
@@ -81,7 +81,13 @@ gchar *file_chooser_build_filename(GtkWidget *chooser, gchar *extension);
gpointer file_types_get_data_by_name(FileTypes *file_types, gchar *name);
/* Misc utility functions */
-gpointer idle_free(gpointer ptr);
+#if RELEASE == 1
+gpointer idle_free(gpointer ptr);
+#else
+gpointer __idle_free(gpointer ptr, gchar *f, gint l);
+#define idle_free(p) __idle_free(p, __FILE__, __LINE__)
+#endif /* RELEASE == 1 */
+
inline gchar *size_human_readable(gfloat size);
void nonblock_sleep(guint msec);
void open_url(gchar *url);
@@ -90,6 +96,9 @@ GSList *modules_load_all(void);
ModuleAbout *module_get_about(ShellModule *module);
gchar *seconds_to_string(unsigned int seconds);
+gchar *h_strdup_cprintf(const gchar *format, gchar *source, ...);
+gchar *h_strconcat(gchar *string1, ...);
+
void module_entry_scan_all_except(ModuleEntry *entries, gint except_entry);
void module_entry_scan_all(ModuleEntry *entries);
void module_entry_reload(ShellModuleEntry *module_entry);