Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 4041:3a36ec242415
[gaim-migrate @ 4249]
Michael Golden replaced a deprecated gtk call, and I fixed a leak in
gtkimhtmlc.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 03 Dec 2002 22:26:54 +0000 |
parents | 2b3a9d8f168e |
children | 4a3f863b041f |
comparison
equal
deleted
inserted
replaced
4040:89b56ab2b692 | 4041:3a36ec242415 |
---|---|
94 x++; | 94 x++; |
95 } | 95 } |
96 | 96 |
97 t->image = path; | 97 t->image = path; |
98 } | 98 } |
99 gtk_smiley_tree_destroy (GtkSmileyTree *tree) | 99 |
100 gboolean gtk_smiley_tree_destroy (GtkSmileyTree *tree) | |
100 { | 101 { |
101 GSList *list = g_slist_append (NULL, tree); | 102 GSList *list = g_slist_append (NULL, tree); |
102 | 103 |
103 while (list) { | 104 while (list) { |
104 GtkSmileyTree *t = list->data; | 105 GtkSmileyTree *t = list->data; |
110 g_string_free (t->values, TRUE); | 111 g_string_free (t->values, TRUE); |
111 g_free (t->children); | 112 g_free (t->children); |
112 } | 113 } |
113 g_free (t); | 114 g_free (t); |
114 } | 115 } |
116 return TRUE; | |
115 } | 117 } |
116 | 118 |
117 static GtkTextViewClass *parent_class = NULL; | 119 static GtkTextViewClass *parent_class = NULL; |
118 | 120 |
119 | 121 |