aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r--widgets/text/e-text.c4
1 files changed, 2 insertions, 2 deletions
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;