diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-10-14 14:20:46 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-10-21 14:04:51 +0800 |
commit | 59f4a5e422744f5eda6f1143f297fdb579ecdf23 (patch) | |
tree | 706ff4392498e8f76d4b3a4ea36eac3b291c33ec /src/empathy-call-window.c | |
parent | 78f01f15a0d1106f4b063af5e71cd9207a2ffe79 (diff) | |
download | gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.gz gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.bz2 gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.lz gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.xz gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.zst gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.zip |
Inline assignments are icky; free leaked string
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index a4060b909..4f3abbde9 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -3155,16 +3155,18 @@ show_balance_error (GObject *object, g_free (money); } + tmp = g_strdup_printf (_("Your current balance is %s."), balance), + display_error (self, NULL, _("Sorry, you don’t have enough credit for that call."), - tmp = g_strdup_printf (_("Your current balance is %s."), - balance), - NULL, + tmp, NULL, _("Top Up"), uri, EMP_RESPONSE_BALANCE); + g_free (tmp); + g_free (balance); } static void |