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:
Lutz Mueller
2000-10-11 21:29:27 +00:00
parent 786aabe3ab
commit 116bec693d

View File

@@ -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");