comparison src/dialogs.c @ 8677:cc2ce209cc46

[gaim-migrate @ 9430] marv's patch for GtkIMHtml. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 17 Apr 2004 13:58:29 +0000
parents 48112dfe1179
children 725413cc9fb9
comparison
equal deleted inserted replaced
8676:e096d797d958 8677:cc2ce209cc46
694 _("Please give the message a title, or choose " 694 _("Please give the message a title, or choose "
695 "\"Use\" to use without saving.")); 695 "\"Use\" to use without saving."));
696 return 0; 696 return 0;
697 } 697 }
698 698
699 msg = gtk_imhtml_get_text(GTK_IMHTML(ca->text)); 699 msg = gtk_imhtml_get_text(GTK_IMHTML(ca->text), NULL, NULL);
700 700
701 if ((type <= 1) && ((msg == NULL) || (*msg == '\0'))) { 701 if ((type <= 1) && ((msg == NULL) || (*msg == '\0'))) {
702 /* We shouldn't allow a blank message */ 702 /* We shouldn't allow a blank message */
703 gaim_notify_error(NULL, NULL, 703 gaim_notify_error(NULL, NULL,
704 _("You cannot create an empty away message"), NULL); 704 _("You cannot create an empty away message"), NULL);