From 116bec693d529faab316dc68a74ed04bac35de2d Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Wed, 11 Oct 2000 21:29:27 +0000 Subject: [PATCH] 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 --- camlibs/directory/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/directory/directory.c b/camlibs/directory/directory.c index 15da33b73..2b46eca20 100644 --- a/camlibs/directory/directory.c +++ b/camlibs/directory/directory.c @@ -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");