aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-27 10:39:19 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-27 10:39:19 +0800
commitfd57ebebf43ee3149efd8443996cde5d99490129 (patch)
tree5f45eba13968e6fc94035bdcd5fe1d1a58366874 /addressbook/gui/widgets/e-minicard.c
parent83a54e15a95b22f91b5ef68a2687a7af9f9d1b43 (diff)
downloadgsoc2013-evolution-fd57ebebf43ee3149efd8443996cde5d99490129.tar.gz
gsoc2013-evolution-fd57ebebf43ee3149efd8443996cde5d99490129.tar.zst
gsoc2013-evolution-fd57ebebf43ee3149efd8443996cde5d99490129.zip
remove redundant setting of y2.
2002-11-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (e_minicard_reflow): remove redundant setting of y2. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): show the table. * gui/component/select-names/e-select-names-completion.c: remove an unnecessary #include. * gui/component/addressbook-storage.c (addressbook_storage_setup): use g_build_filename. * gui/component/addressbook-component.c (remove_folder): use g_build_filename. (add_creatable_item): same. (ensure_completion_uris_exist): same, and use the right gconf paths for completion uris. svn path=/trunk/; revision=18940
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.c')
-rw-r--r--addressbook/gui/widgets/e-minicard.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 6c8c9a630b..7f21f88f31 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -531,7 +531,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event)
e_minicard = E_MINICARD (item);
canvas = GTK_WIDGET (GNOME_CANVAS_ITEM (item)->canvas);
-
+
switch( event->type ) {
case GDK_FOCUS_CHANGE:
{
@@ -948,10 +948,6 @@ e_minicard_reflow( GnomeCanvasItem *item, int flags )
e_minicard->height += 2;
gnome_canvas_item_set( e_minicard->rect,
- "y2", (double) e_minicard->height - 1,
- NULL );
-
- gnome_canvas_item_set( e_minicard->rect,
"x2", (double) e_minicard->width - 1.0,
"y2", (double) e_minicard->height - 1.0,
NULL );