27 |
|
#include <libraries/asl.h> |
28 |
|
#include <libraries/gtlayout.h> |
29 |
|
#include <libraries/Picasso96.h> |
30 |
< |
#include <cybergraphx/cybergraphics.h> |
30 |
> |
#include <cybergraphics/cybergraphics.h> |
31 |
|
#include <graphics/displayinfo.h> |
32 |
|
#include <devices/ahi.h> |
33 |
|
#include <proto/exec.h> |
513 |
|
FreeAslRequest(dev_request); |
514 |
|
FreeAslRequest(file_request); |
515 |
|
|
516 |
+ |
// Delete menus |
517 |
+ |
LT_DisposeMenu(menu); |
518 |
+ |
|
519 |
|
// Delete handle |
520 |
|
LT_DeleteHandle(h); |
521 |
|
|
876 |
|
} |
877 |
|
} while (!done); |
878 |
|
|
876 |
– |
// Delete handle |
877 |
– |
LT_DeleteHandle(h); |
878 |
– |
|
879 |
|
// Update preferences and list view |
880 |
|
if (ok_clicked) { |
881 |
|
char str[256]; |
913 |
|
LT_SetAttributes(h2, GAD_DISK_LIST, GTLV_Labels, (ULONG)&disk_list, TAG_END); |
914 |
|
ghost_volumes_gadgets(h2); |
915 |
|
} |
916 |
+ |
|
917 |
+ |
// Delete handle |
918 |
+ |
LT_DeleteHandle(h); |
919 |
|
} |
920 |
|
|
921 |
|
// Remove volume from list |