diff options
author | Milan Crha <mcrha@redhat.com> | 2012-10-17 20:40:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-10-17 20:40:59 +0800 |
commit | bac4efc7ced9ec16f6cdc30959797d8fe3cffde1 (patch) | |
tree | f47458538cbe24fd884c0b0fbdac43d8b5213b1d /calendar/gui | |
parent | f12ec068f993121f8dc8a3170591d21be6a2a665 (diff) | |
download | gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.tar gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.tar.gz gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.tar.bz2 gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.tar.lz gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.tar.xz gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.tar.zst gsoc2013-evolution-bac4efc7ced9ec16f6cdc30959797d8fe3cffde1.zip |
Add format checker (in compile time) to e_notice()
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/itip-utils.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 350fb5d850..b7b31dbf48 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -1123,11 +1123,8 @@ comp_server_send (ECalComponentItipMethod method, _("Unable to book a resource, the " "new event collides with some other.")); } else { - gchar *msg = g_strconcat ( - _("Unable to book a resource, error: "), - error->message, NULL); - e_notice (NULL, GTK_MESSAGE_ERROR, msg); - g_free (msg); + e_notice (NULL, GTK_MESSAGE_ERROR, + _("Unable to book a resource, error: %s"), error->message); } retval = FALSE; |