diff options
author | Ted Gould <ted@gould.cx> | 2011-03-29 11:58:28 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-29 11:58:28 -0500 |
commit | 5d401d9c978453c29c6d74694fe68e4155534283 (patch) | |
tree | a83abdf4b84f9a72af1645ca56cbd40d00414551 /src/utils.c | |
parent | 6185b56b563e39d10801e555bf3b51a18f586bdd (diff) | |
parent | b86cc25455f38c4162ecd1fe6add20373c789980 (diff) | |
download | ayatana-indicator-datetime-5d401d9c978453c29c6d74694fe68e4155534283.tar.gz ayatana-indicator-datetime-5d401d9c978453c29c6d74694fe68e4155534283.tar.bz2 ayatana-indicator-datetime-5d401d9c978453c29c6d74694fe68e4155534283.zip |
Fix crash with GVariantBuilder, unref a timedate and ensure that we always have a separator
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index 537495b..d8851aa 100644 --- a/src/utils.c +++ b/src/utils.c @@ -233,6 +233,8 @@ generate_format_string_at_time (GDateTime * time) g_date_time_unref(future_bound); } + g_date_time_unref (now); + return generate_format_string_full(show_day, show_date); } |