Mercurial > pidgin
changeset 3071:55fa49dc545e
[gaim-migrate @ 3085]
Will compile with gtk2 again.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 17 Mar 2002 06:43:54 +0000 |
parents | a8c8a3637640 |
children | 359b4cd0e766 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }