changeset 8496:f07fbdfbe2e0

[gaim-migrate @ 9231] Remove some printfs. Hopefully we'll release Thursday? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 24 Mar 2004 01:50:32 +0000
parents a88124e46fc6
children d4ed39454347
files src/gtkconv.c src/gtkimhtml.c
diffstat 2 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Mar 24 01:46:46 2004 +0000
+++ b/src/gtkconv.c	Wed Mar 24 01:50:32 2004 +0000
@@ -5105,7 +5105,7 @@
 			}
 			else
 				gtkconv->u.im->anim =
-					gdk_pixbuf_animation_new_from_file(iconfile, &err);
+					gdk_pixbuf_animation_new_from_file(iconfile, &err); /* LEAK */
 		}
 	}
 	else
@@ -5151,7 +5151,7 @@
 		buf = gdk_pixbuf_animation_get_static_image(gtkconv->u.im->anim);
 	} else {
 		gtkconv->u.im->iter =
-			gdk_pixbuf_animation_get_iter(gtkconv->u.im->anim, NULL);
+			gdk_pixbuf_animation_get_iter(gtkconv->u.im->anim, NULL); /* LEAK */
 		buf = gdk_pixbuf_animation_iter_get_pixbuf(gtkconv->u.im->iter);
 		if (gtkconv->u.im->animate)
 			start_anim(NULL, conv);
--- a/src/gtkimhtml.c	Wed Mar 24 01:46:46 2004 +0000
+++ b/src/gtkimhtml.c	Wed Mar 24 01:50:32 2004 +0000
@@ -1411,8 +1411,6 @@
 	GtkIMHtmlScalable *scalable = NULL;
 	int y, height;
 
-	printf("Appending: %s\n", text);
-
 	g_return_val_if_fail (imhtml != NULL, NULL);
 	g_return_val_if_fail (GTK_IS_IMHTML (imhtml), NULL);
 	g_return_val_if_fail (text != NULL, NULL);
@@ -2558,8 +2556,6 @@
 	GSList *tags;
 	gint position, length, adjusted;
 	
-	printf("get_current_format\n");
-	
 	/* grab the current cursor position compensate for the way that the
 	 * direction that the cursor was moved so that we get all the tags
 	 * for that current location
@@ -2580,9 +2576,6 @@
 			adjusted = length - 1;
 	}
 	
-	printf("position: %d, offset: %d, length: %d, adjusted: %d\n",
-		   position, offset, length, adjusted);
-	
 	gtk_text_buffer_get_iter_at_offset(imhtml->text_buffer, &adj_iter, adjusted);
 
 	/* grab the tags that apply to the cursor location */
@@ -2591,7 +2584,6 @@
 	{
 		GtkTextTag *tag = GTK_TEXT_TAG(tags->data);
 		if(tag->name) {
-			printf("tag: %s\n", tag->name);
 			if(g_ascii_strcasecmp(tag->name, "BOLD") == 0)
 				(*bold) = TRUE;
 			if(g_ascii_strcasecmp(tag->name, "ITALICS") == 0)
@@ -3097,7 +3089,6 @@
 		closers = g_list_remove(closers, span);
 
 	}
-	printf("gotten: %s\n", str->str);
 	return g_string_free(str, FALSE);
 }