Mercurial > pidgin.yaz
comparison finch/libgnt/gnttextview.c @ 24503:e2e57d3c0578
Use glib log functions to show error messages.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 28 Nov 2008 06:29:37 +0000 |
parents | f10aba5592c6 |
children | c67d43408daa |
comparison
equal
deleted
inserted
replaced
24502:7b27f7c41d85 | 24503:e2e57d3c0578 |
---|---|
17 * | 17 * |
18 * You should have received a copy of the GNU General Public License | 18 * You should have received a copy of the GNU General Public License |
19 * along with this program; if not, write to the Free Software | 19 * along with this program; if not, write to the Free Software |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
21 */ | 21 */ |
22 | |
23 #include "gntinternal.h" | |
24 #undef GNT_LOG_DOMAIN | |
25 #define GNT_LOG_DOMAIN "TextView" | |
22 | 26 |
23 #include "gntstyle.h" | 27 #include "gntstyle.h" |
24 #include "gnttextview.h" | 28 #include "gnttextview.h" |
25 #include "gntutils.h" | 29 #include "gntutils.h" |
26 | 30 |
778 } | 782 } |
779 line->length -= change; | 783 line->length -= change; |
780 /* XXX: Make things work if the tagged text spans over several lines. */ | 784 /* XXX: Make things work if the tagged text spans over several lines. */ |
781 } else { | 785 } else { |
782 /* XXX: handle the rest of the conditions */ | 786 /* XXX: handle the rest of the conditions */ |
783 g_printerr("WTF! This needs to be handled properly!!\n"); | 787 gnt_warning("WTF! This needs to be handled properly!!%s", ""); |
784 } | 788 } |
785 } | 789 } |
786 } | 790 } |
787 if (text == NULL) { | 791 if (text == NULL) { |
788 /* Remove the tag */ | 792 /* Remove the tag */ |