From 5d812173d0e4e12a74bce2ee137d04b0e56db827 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 25 Oct 2010 10:36:27 -0400 Subject: Drop usage of GtkAnchorType. gtk+-3.0 removed it for being "unused". --- addressbook/gui/widgets/e-minicard-label.c | 2 -- addressbook/gui/widgets/e-minicard.c | 1 - 2 files changed, 3 deletions(-) (limited to 'addressbook') diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c index 6b01750a87..4b05f11138 100644 --- a/addressbook/gui/widgets/e-minicard-label.c +++ b/addressbook/gui/widgets/e-minicard-label.c @@ -307,7 +307,6 @@ e_minicard_label_realize (GnomeCanvasItem *item) e_minicard_label->fieldname = gnome_canvas_item_new ( group, e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "clip_width", (double) ( e_minicard_label->width / 2 - 4 ), "clip", TRUE, "use_ellipsis", TRUE, @@ -320,7 +319,6 @@ e_minicard_label_realize (GnomeCanvasItem *item) e_minicard_label->field = gnome_canvas_item_new ( group, e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "clip_width", (double) ( ( e_minicard_label->width + 1 ) / 2 - 4 ), "clip", TRUE, "use_ellipsis", TRUE, diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index e3dc55bb70..a91e0c3a14 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -516,7 +516,6 @@ e_minicard_realize (GnomeCanvasItem *item) e_minicard->header_text = gnome_canvas_item_new ( group, e_text_get_type (), - "anchor", GTK_ANCHOR_NW, "width", (double) MAX( e_minicard->width - 12, 0 ), "clip", TRUE, "use_ellipsis", TRUE, -- cgit