Merge lp:~charlesk/indicator-datetime/lp-957320 into lp:indicator-datetime/0.4
Proposed by
Charles Kerr
Status: | Merged |
---|---|
Approved by: | Charles Kerr |
Approved revision: | 163 |
Merged at revision: | 162 |
Proposed branch: | lp:~charlesk/indicator-datetime/lp-957320 |
Merge into: | lp:indicator-datetime/0.4 |
Diff against target: |
21 lines (+4/-5) 1 file modified
src/datetime-service.c (+4/-5) |
To merge this branch: | bzr merge lp:~charlesk/indicator-datetime/lp-957320 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lars Karlitski (community) | Approve | ||
Review via email: mp+97962@code.launchpad.net |
To post a comment you must log in.
Pretty simple stuff. This patch adds the g_free() line to the end of this block:
gchar *time_format_str = g_settings_ get_string( conf, SETTINGS_ TIME_FORMAT_ S); time_format_ str, "12-hour") == 0) {
apt_output = SETTINGS_ TIME_12_ HOUR; time_format_ str, "24-hour") == 0) {
apt_output = SETTINGS_ TIME_24_ HOUR;
apt_output = SETTINGS_ TIME_12_ HOUR;
apt_output = SETTINGS_ TIME_24_ HOUR;
gint apt_output;
if (g_strcmp0(
} else if (g_strcmp0(
} else if (is_locale_12h()) {
} else {
}
g_free (time_format_str);