# HG changeset patch # User Christian Hammond # Date 1069051445 0 # Node ID 083427fd8ba8dda2fa12febd229d797bbb73e56e # Parent 41ba5e3b284417fc12d154e290d61e6c6d9273c3 [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 diff -r 41ba5e3b2844 -r 083427fd8ba8 src/gtklog.c --- 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);