[totem] Fix gtk_widget_size_request deprecation
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Fix gtk_widget_size_request deprecation
- Date: Mon, 18 Oct 2010 13:25:39 +0000 (UTC)
commit 8b5aa922804b39c1d3b63eafba2ba6290fccae9b
Author: Bastien Nocera <hadess hadess net>
Date: Mon Oct 18 14:25:17 2010 +0100
Fix gtk_widget_size_request deprecation
browser-plugin/totem-plugin-viewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 7322245..36ba041 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -1243,7 +1243,7 @@ popup_menu_position_func (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, Gt
GtkTextDirection direction;
GtkAllocation allocation;
- gtk_widget_size_request (GTK_WIDGET (menu), &menu_req);
+ gtk_widget_get_preferred_size (GTK_WIDGET (menu), NULL, &menu_req);
direction = gtk_widget_get_direction (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]