aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-01 00:40:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-01 00:40:04 +0800
commitb15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5 (patch)
treeca9264390cf2efb85518efbcb1dde909f6c45d5c /widgets/misc
parent30d3ec19b94270cc91215130135005bb1a37ef0d (diff)
downloadgsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.tar
gsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.tar.gz
gsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.tar.bz2
gsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.tar.lz
gsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.tar.xz
gsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.tar.zst
gsoc2013-evolution-b15e0d6df6e3e626a7c8b33fd1d0504fca7ca5b5.zip
Avoid gtk_widget_get_child_requisition().
Use gtk_widget_get_preferred_size() instead.
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-calendar-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c
index 414311bb2b..16ce64583b 100644
--- a/widgets/misc/e-calendar-item.c
+++ b/widgets/misc/e-calendar-item.c
@@ -3645,7 +3645,7 @@ e_calendar_item_position_menu (GtkMenu *menu,
GtkRequisition requisition;
gint screen_width, screen_height;
- gtk_widget_get_child_requisition (GTK_WIDGET (menu), &requisition);
+ gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL);
*x -= (gtk_widget_get_direction(GTK_WIDGET(menu)) == GTK_TEXT_DIR_RTL)
? requisition.width - 2