diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:43 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:43 -0500 |
commit | 7aeb5ac87c6105bd8fcc9b1fd12e37ba1550f587 (patch) | |
tree | cab8ef3e10d3a33a2033538b6088e107f0a86dcd /hardinfo.h | |
parent | a9d469b1b48a8446dc9b9fd987b6af83a60ed796 (diff) |
Import Upstream version 0.4.2.2
Diffstat (limited to 'hardinfo.h')
-rw-r--r-- | hardinfo.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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); |