Initialize dentry->geometry -mig

This commit is contained in:
Miguel de Icaza 1998-03-25 19:29:12 +00:00
parent f5670b549d
commit 391f08d9e5
2 changed files with 9 additions and 9 deletions

View File

@ -769,15 +769,16 @@ desktop_create_directory_entry (char *dentry_path, char *pathname, char *short_n
GnomeDesktopEntry *dentry;
dentry = xmalloc (sizeof (GnomeDesktopEntry), "dcde");
dentry->name = g_strdup (short_name);
dentry->comment = NULL;
dentry->tryexec = NULL;
dentry->exec = g_strdup (pathname);
dentry->icon = gnome_unconditional_pixmap_file ("gnome-folder.png");
dentry->docpath = NULL;
dentry->type = g_strdup ("Directory");
dentry->name = g_strdup (short_name);
dentry->comment = NULL;
dentry->tryexec = NULL;
dentry->exec = g_strdup (pathname);
dentry->icon = gnome_unconditional_pixmap_file ("gnome-folder.png");
dentry->docpath = NULL;
dentry->type = g_strdup ("Directory");
dentry->location = g_strdup (dentry_path);
dentry->geometry = NULL;
gnome_desktop_entry_save (dentry);
desktop_load_from_dentry (dentry);
}

View File

@ -1,5 +1,4 @@
All:
- Intenrationalization
- It crashes
- It leaks objects.
- argp handling.