Mercurial > pidgin
changeset 7537:083427fd8ba8
[gaim-migrate @ 8150]
Compile gtklog.c with less warnings. The GTK_HTML() macro is a good thing
to use when the function wants a GtkIMHtml.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 17 Nov 2003 06:44:05 +0000 |
parents | 41ba5e3b2844 |
children | 357eb1c39b72 |
files | src/gtklog.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtklog.c Mon Nov 17 04:29:40 2003 +0000 +++ b/src/gtklog.c Mon Nov 17 06:44:05 2003 +0000 @@ -5,7 +5,7 @@ * gaim * * Copyright (C) 2003 Error of Ruto - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -75,7 +75,7 @@ if (strlen(search_term) == 0) {/* reset the tree */ populate_log_tree(lv); lv->search = NULL; - gtk_imhtml_search_clear(lv->imhtml); + gtk_imhtml_search_clear(GTK_IMHTML(lv->imhtml)); return; } @@ -160,7 +160,7 @@ ((flags & GAIM_LOG_READ_NO_NEWLINE) ? GTK_IMHTML_NO_NEWLINE : 0)); if (viewer->search) - gtk_imhtml_search_find(viewer->imhtml, viewer->search); + gtk_imhtml_search_find(GTK_IMHTML(viewer->imhtml), viewer->search); g_free(read); g_free(title);