From: Sean E. <sea...@us...> - 2002-03-17 06:43:57
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv21018/src Modified Files: gtkimhtml.c Log Message: Will compile with gtk2 again. Index: gtkimhtml.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkimhtml.c,v retrieving revision 1.103 retrieving revision 1.104 diff -u -d -r1.103 -r1.104 --- gtkimhtml.c 15 Mar 2002 02:34:10 -0000 1.103 +++ gtkimhtml.c 17 Mar 2002 06:43:54 -0000 1.104 @@ -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; } |