default comment is now NULL.

This commit is contained in:
Adam D. Moss 1999-08-29 17:43:35 +00:00
parent d0127d1809
commit 193a9ac3c8
1 changed files with 6 additions and 4 deletions

View File

@ -1336,14 +1336,16 @@ save_dialog ( gint32 image_ID )
else
{
#endif
globalcomment = g_malloc(1+strlen(_("Made with GIMP")));
strcpy(globalcomment, _("Made with GIMP"));
/* globalcomment = g_malloc(1+strlen(_("Made with GIMP")));
strcpy(globalcomment, _("Made with GIMP")); */
globalcomment = NULL;
#ifdef FACEHUGGERS
}
parasite_free (GIF2_CMNT);
#endif
gtk_text_insert(GTK_TEXT(text),NULL,NULL,NULL,globalcomment,-1);
if (globalcomment)
gtk_text_insert(GTK_TEXT(text),NULL,NULL,NULL,globalcomment,-1);
gtk_signal_connect (GTK_OBJECT (text), "changed",
(GtkSignalFunc) comment_entry_callback,
NULL);