diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2002-01-15 12:29:46 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2002-01-15 12:29:46 +0000 |
commit | 603159e7428b1f7bbdab398e7efff531c40e45e3 (patch) | |
tree | f5b615838e55daf8413d8ffe517e86e1d29f71a3 /libgphoto2/gphoto2-widget.c | |
parent | d7e780db499e9a362d99d8079055e3e155b53458 (diff) | |
download | libgphoto2-603159e7428b1f7bbdab398e7efff531c40e45e3.tar.gz |
2002-01-15 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
More GPContext changes:
* libgphoto2/gphoto2-context.[c,h]: Add message functionality
* camlibs: Use it.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3886 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-widget.c')
-rw-r--r-- | libgphoto2/gphoto2-widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2/gphoto2-widget.c b/libgphoto2/gphoto2-widget.c index 01eacaf3e..753511e67 100644 --- a/libgphoto2/gphoto2-widget.c +++ b/libgphoto2/gphoto2-widget.c @@ -70,7 +70,7 @@ struct _CameraWidget { int id; /* Callback */ - int (* callback) (Camera *, CameraWidget *); + CameraWidgetCallback callback; }; /** @@ -345,7 +345,7 @@ gp_widget_set_value (CameraWidget *widget, void *value) switch (widget->type) { case GP_WIDGET_BUTTON: - widget->callback = (CameraWidgetCallback)value; + widget->callback = (CameraWidgetCallback) value; return (GP_OK); case GP_WIDGET_MENU: case GP_WIDGET_RADIO: |