aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-08 03:44:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-08 03:45:43 +0800
commit79741ccd3f90c4c8aab672b508606d63c3899584 (patch)
tree1665585e797b21156c17595263d7f47bc43bebff /widgets/text/e-text.c
parentc5a010f9ac7087a2d7b050497977182161ed115c (diff)
downloadgsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.gz
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.zst
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.zip
BugĀ 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
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;