summaryrefslogtreecommitdiff
path: root/libgphoto2
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2010-06-30 05:53:46 +0000
committerMarcus Meissner <marcus@jet.franken.de>2010-06-30 05:53:46 +0000
commit4dc5e4c05b59f86e1e234c2e77c0d21e38936bf1 (patch)
tree5c7e77b9c57b06c49a0cc35e4948c50dda833860 /libgphoto2
parent45afa64ffde6e2f5adf4592abbfd9b50879091dd (diff)
downloadlibgphoto2-4dc5e4c05b59f86e1e234c2e77c0d21e38936bf1.tar.gz
better debugging
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13105 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2')
-rw-r--r--libgphoto2/gphoto2-widget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgphoto2/gphoto2-widget.c b/libgphoto2/gphoto2-widget.c
index 2b51edd99..361043f11 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 to "
- "'%s'...", (char*) value);
- if (widget->value_string) {
+ gp_log (GP_LOG_DEBUG, "gphoto2-widget", "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);