all repos — tint2 @ a185f625f96d9f31c1528bed1065bc74970425c6

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

Proper fix for time_t printing
o9000 mrovi9000@gmail.com
commit

a185f625f96d9f31c1528bed1065bc74970425c6

parent

3a9181eff553ef61ba514c5327bc43d819493fb4

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, (long)time(NULL)); + gchar *backup_path = g_strdup_printf("%s.backup.%lld", filepath, (long 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, (long)time(NULL)); + gchar *backup_path = g_strdup_printf("%s.backup.%lld", filepath, (long long)time(NULL)); copy_file(filepath, backup_path); g_free(backup_path); }