diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2014-07-19 11:40:52 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2014-07-19 11:40:52 +0000 |
commit | 034d6ac46ffc9a5461e6ed1da1ab877320922f8e (patch) | |
tree | f9bbc8becb5f34799a0ee0b71b5d4ba3327bf91a /libgphoto2/gphoto2-context.c | |
parent | 828e50cf203ef740ff98d6ddf706ba4ee0e81e2b (diff) | |
download | libgphoto2-034d6ac46ffc9a5461e6ed1da1ab877320922f8e.tar.gz |
From: Axel Waggershauser <awagger@web.de>
7, 8, 9) same 3,4,5 but for libgphoto core
3, 4) strictly replacing gp_log( GP_LOG_DEBUG/ERROR, ... with
GP_LOG_D/E in the libgphoto2 code. they are simple regex-replace
patches.
5) fix some whitespace issues caused by 3 and 4 and remove any _(...)
gettext macro usage for log messages
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15085 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-context.c')
-rw-r--r-- | libgphoto2/gphoto2-context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgphoto2/gphoto2-context.c b/libgphoto2/gphoto2-context.c index 61076d9dc..8ed378884 100644 --- a/libgphoto2/gphoto2-context.c +++ b/libgphoto2/gphoto2-context.c @@ -275,7 +275,7 @@ gp_context_error (GPContext *context, const char *format, ...) va_end (args); /* Log the error message */ - gp_log (GP_LOG_ERROR, "context", "%s", str); + GP_LOG_E ("%s", str); if (context && context->error_func) context->error_func (context, str, context->error_func_data); @@ -324,7 +324,7 @@ gp_context_status (GPContext *context, const char *format, ...) va_end (args); /* Log the status message */ - gp_log (GP_LOG_DEBUG, "context", "%s", str); + GP_LOG_D ("%s", str); if (context && context->status_func) context->status_func (context, str, context->status_func_data); @@ -386,7 +386,7 @@ gp_context_message (GPContext *context, const char *format, ...) va_end (args); /* Log the message */ - gp_log (GP_LOG_DEBUG, "context", "%s", str); + GP_LOG_D ("%s", str); if (context && context->message_func) context->message_func (context, str, context->message_func_data); |