diff src/gtkconv.c @ 7298:caca74a75e4c

[gaim-migrate @ 7882] Compiler warnings are bad. Pointer casting from GtkWidget to GtkIMHtml is good. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 19 Oct 2003 01:34:24 +0000
parents c7f0a4397d9e
children 41bbe5534441
line wrap: on
line diff
--- a/src/gtkconv.c	Sat Oct 18 03:34:14 2003 +0000
+++ b/src/gtkconv.c	Sun Oct 19 01:34:24 2003 +0000
@@ -724,10 +724,10 @@
 {
 	switch (resp) {
 	case GTK_RESPONSE_OK:
-		gtk_imhtml_search_find(s->gtkconv->imhtml, gtk_entry_get_text(GTK_ENTRY(s->entry)));
+		gtk_imhtml_search_find(GTK_IMHTML(s->gtkconv->imhtml), gtk_entry_get_text(GTK_ENTRY(s->entry)));
 		break;
 	case GTK_RESPONSE_CLOSE:
-		gtk_imhtml_search_clear(s->gtkconv->imhtml);
+		gtk_imhtml_search_clear(GTK_IMHTML(s->gtkconv->imhtml));
 		gtk_widget_destroy(s->gtkconv->dialogs.search);
 		s->gtkconv->dialogs.search = NULL;
 		g_free(s);