summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2/gphoto2-widget.c')
-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);