[gnome-panel] panel-toplevel: fix deprecated warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] panel-toplevel: fix deprecated warning
- Date: Mon, 27 Oct 2014 16:18:55 +0000 (UTC)
commit e14b9ac0b2768bed8670a80bf94c2bad21e9b4cd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jul 9 17:36:36 2014 +0300
panel-toplevel: fix deprecated warning
gnome-panel/panel-toplevel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-toplevel.c b/gnome-panel/panel-toplevel.c
index e77a279..2974535 100644
--- a/gnome-panel/panel-toplevel.c
+++ b/gnome-panel/panel-toplevel.c
@@ -3143,7 +3143,7 @@ panel_toplevel_start_animation (PanelToplevel *toplevel)
deltax = toplevel->priv->animation_end_x - cur_x;
deltay = toplevel->priv->animation_end_y - cur_y;
- gtk_widget_get_requisition (GTK_WIDGET (toplevel), &requisition);
+ gtk_widget_get_preferred_size (GTK_WIDGET (toplevel), &requisition, NULL);
if (toplevel->priv->animation_end_width != -1)
deltaw = toplevel->priv->animation_end_width - requisition.width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]