changeset 7836:3738e3ac6d88

[gaim-migrate @ 8489] C is a standard. we should use it. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 12 Dec 2003 02:38:45 +0000
parents 4ed0c93816f6
children d20f729d3f18
files src/gtkimhtml.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Dec 12 01:41:14 2003 +0000
+++ b/src/gtkimhtml.c	Fri Dec 12 02:38:45 2003 +0000
@@ -2426,9 +2426,11 @@
 	GdkPixbuf *pixbuf = NULL;
 	GdkPixbufAnimation *annipixbuf = NULL;
 	GtkWidget *icon = NULL;
+	GtkTextChildAnchor *anchor;
+
 	printf("%s %s\n", sml, smiley);
 	gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &iter, ins);
-	GtkTextChildAnchor *anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, &iter);
+	anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, &iter);
 	g_object_set_data(G_OBJECT(anchor), "text_tag", g_strdup(smiley));
 
 	annipixbuf = gtk_smiley_tree_image(imhtml, sml, smiley);