From 79741ccd3f90c4c8aab672b508606d63c3899584 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 7 Jan 2010 14:44:46 -0500 Subject: =?UTF-8?q?Bug=C2=A0606250=20-=20Remove=20usage=20of=20deprecated?= =?UTF-8?q?=20GTK+=20symbols?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several GtkWidget macros were recently deprecated. --- widgets/text/e-text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/text/e-text.c') diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index b9c5e0cbe3..fc73af5cae 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1463,7 +1463,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable, thiswidth = widget->allocation.width - GTK_CONTAINER (widget)->border_width * 2; thisheight = widget->allocation.height - GTK_CONTAINER (widget)->border_width * 2; - if (GTK_WIDGET_HAS_DEFAULT (widget) && + if (gtk_widget_has_default (widget) && GTK_BUTTON (widget)->relief == GTK_RELIEF_NORMAL) { gtk_paint_box (widget->style, drawable, @@ -1472,7 +1472,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable, thisx + xoff, thisy + yoff, thiswidth, thisheight); } - if (GTK_WIDGET_CAN_DEFAULT (widget)) { + if (gtk_widget_get_can_default (widget)) { thisx += widget->style->xthickness; thisy += widget->style->ythickness; thiswidth -= 2 * thisx + default_spacing; -- cgit v1.2.3