gp_widget_unref instead of gp_widget_free
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1185 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -283,7 +283,7 @@ int camera_config (Camera *camera) {
|
||||
|
||||
/* Prompt the user with the config window */
|
||||
if (gp_frontend_prompt (camera, window) == GP_PROMPT_CANCEL) {
|
||||
gp_widget_free(window);
|
||||
gp_widget_unref(window);
|
||||
return GP_OK;
|
||||
}
|
||||
t = gp_widget_child_by_label(window, "View hidden (dot) directories");
|
||||
|
||||
Reference in New Issue
Block a user