# HG changeset patch # User Sean Egan # Date 1016347434 0 # Node ID 55fa49dc545ed264b8195933795274883b2e339b # Parent a8c8a3637640202f36c6bf6d8b912b12417739f2 [gaim-migrate @ 3085] Will compile with gtk2 again. committer: Tailor Script diff -r a8c8a3637640 -r 55fa49dc545e src/gtkimhtml.c --- a/src/gtkimhtml.c Sun Mar 17 05:27:40 2002 +0000 +++ b/src/gtkimhtml.c Sun Mar 17 06:43:54 2002 +0000 @@ -742,8 +742,13 @@ return; if (GTK_WIDGET_HAS_FOCUS (widget)) { +#if GTK_CHECK_VERSION(1,3,0) + gtk_paint_focus (widget->style, widget->window, GTK_STATE_NORMAL, NULL, widget, "text", + 0, 0, widget->allocation.width - 1, widget->allocation.height - 1); +#else gtk_paint_focus (widget->style, widget->window, NULL, widget, "text", 0, 0, widget->allocation.width - 1, widget->allocation.height - 1); +#endif x = 1; y = 1; w = 2; h = 2; }