changeset 11690:872932089400

[gaim-migrate @ 13976] Removing the a_virgin field from GaimGtkImPane. It's no longer used. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 17 Oct 2005 23:04:59 +0000
parents 9c0612901c3e
children 739d6376dec2
files plugins/ChangeLog.API plugins/notify.c src/gtkconv.c src/gtkconv.h
diffstat 4 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ChangeLog.API	Mon Oct 17 22:39:34 2005 +0000
+++ b/plugins/ChangeLog.API	Mon Oct 17 23:04:59 2005 +0000
@@ -119,6 +119,7 @@
 	           instead
 	* Added:   gaim_conversation_close_logs(), to force a conversation's
 	           log(s) to be closed. New logs will be opened as necessary.
+	* Removed: GaimGtkImPane->a_virgin
 
 	Signals:
 	* Changed: "received-im-msg" and "received-chat-msg" to match, both
--- a/plugins/notify.c	Mon Oct 17 22:39:34 2005 +0000
+++ b/plugins/notify.c	Mon Oct 17 23:04:59 2005 +0000
@@ -24,13 +24,6 @@
  *
  */
 
-/* TODO conversations have an a_virgin member which seems to be used to detect
- * when a conversation was created remotely as opposed to remotely, look at
- * code for sounds on first message to see how it's used and use it to allow
- * for notifying on first message I don't think this is going to work because
- * the check for this in the source comes after all the conversation signals
- * are fired. */
-
 /* TODO
  * 22:22:17 <seanegan> deryni: speaking of notify.c... you know what else
  * might be a neat feature?
--- a/src/gtkconv.c	Mon Oct 17 22:39:34 2005 +0000
+++ b/src/gtkconv.c	Mon Oct 17 23:04:59 2005 +0000
@@ -3805,7 +3805,6 @@
 
 	if (conv_type == GAIM_CONV_TYPE_IM) {
 		gtkconv->u.im = g_malloc0(sizeof(GaimGtkImPane));
-		gtkconv->u.im->a_virgin = TRUE;
 
 		pane = setup_im_pane(gtkconv);
 	} else if (conv_type == GAIM_CONV_TYPE_CHAT) {
@@ -3922,8 +3921,6 @@
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
 	gaim_gtkconv_set_active_conversation(conv);
 
-	gtkconv->u.im->a_virgin = FALSE;
-
 	gaim_conversation_write(conv, who, message, flags, mtime);
 }
 
--- a/src/gtkconv.h	Mon Oct 17 22:39:34 2005 +0000
+++ b/src/gtkconv.h	Mon Oct 17 23:04:59 2005 +0000
@@ -84,8 +84,6 @@
 	GtkWidget *check;
 	GtkWidget *progress;
 
-	gboolean a_virgin;
-
 	/* Buddy icon stuff */
 	GtkWidget *icon_container;
 	GtkWidget *icon;