all repos — tint2 @ 375e965a3ac2f753112e651eb5be9eb55a8caa70

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Silence time_t warning
o9000 mrovi9000@gmail.com
commit

375e965a3ac2f753112e651eb5be9eb55a8caa70

parent

67e25b8102c4c0beabb5ec20fcfad5303b5519b2

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/tint2conf/main.csrc/tint2conf/main.c

@@ -100,7 +100,7 @@ }

void make_backup(const char *filepath) { - gchar *backup_path = g_strdup_printf("%s.backup.%ld", filepath, time(NULL)); + gchar *backup_path = g_strdup_printf("%s.backup.%ld", filepath, (long)time(NULL)); copy_file(filepath, backup_path); g_free(backup_path); }
M src/tint2conf/properties.csrc/tint2conf/properties.c

@@ -181,7 +181,7 @@ {

gchar *filepath = get_current_theme_path(); if (filepath) { if (config_is_manual(filepath)) { - gchar *backup_path = g_strdup_printf("%s.backup.%ld", filepath, time(NULL)); + gchar *backup_path = g_strdup_printf("%s.backup.%ld", filepath, (long)time(NULL)); copy_file(filepath, backup_path); g_free(backup_path); }