diff --git a/libgphoto2/gphoto2-context.h b/libgphoto2/gphoto2-context.h index 3837e655f..69423b791 100644 --- a/libgphoto2/gphoto2-context.h +++ b/libgphoto2/gphoto2-context.h @@ -30,11 +30,11 @@ GPContext *gp_context_new (void); void gp_context_ref (GPContext *context); void gp_context_unref (GPContext *context); -typedef enum _GPContextFeedback GPContextFeedback; enum _GPContextFeedback { GP_CONTEXT_FEEDBACK_OK, GP_CONTEXT_FEEDBACK_CANCEL }; +typedef enum _GPContextFeedback GPContextFeedback; /* Functions */ typedef void (* GPContextIdleFunc) (GPContext *context, void *data);