Hi,
I am using the below code for creating the profile for the embedded
browser

char *home_path;
char *full_path;
home_path = PR_GetEnv("HOME");
if (!home_path) {
  fprintf(stderr, "Failed to get HOME\n");
  exit(1);
}

full_path = g_strdup_printf("%s/%s", home_path, ".TestGtkEmbed");

gtk_moz_embed_set_profile_path(full_path, "TestGtkEmbed");

The profile directory is getting created @ /root/.TestGtkEmbed/
TestGtkEmbed............

The problem is each time i restart the application, the content in the
Cache folder is cleared.
Any reasons why?
I want to maintain the Contents of Cache folder as such........

Can anyone help me with this......

Thanks in Advance
Vineeth Aravindakshan

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to