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-widget.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-widget.c')
-rw-r--r-- | libgphoto2/gphoto2-widget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgphoto2/gphoto2-widget.c b/libgphoto2/gphoto2-widget.c index 6ac3bcea4..cf0db8d98 100644 --- a/libgphoto2/gphoto2-widget.c +++ b/libgphoto2/gphoto2-widget.c @@ -397,9 +397,9 @@ gp_widget_set_value (CameraWidget *widget, const void *value) case GP_WIDGET_MENU: case GP_WIDGET_RADIO: case GP_WIDGET_TEXT: - gp_log (GP_LOG_DEBUG, "gphoto2-widget", "Setting value of widget " - "'%s' to '%s'...", widget->label, (char*) value); - if (widget->value_string) { + GP_LOG_D ("Setting value of widget '%s' to '%s'...", + widget->label, (char*) value); + if (widget->value_string) { if (strcmp (widget->value_string, (char*) value)) widget->changed = 1; free (widget->value_string); |