[gnome-control-center] user-accounts: Don't use gtk_widget_size_request()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Don't use gtk_widget_size_request()
- Date: Tue, 25 Jan 2011 18:45:27 +0000 (UTC)
commit f925a9ea86218570c94e9e743940d1a41c442b05
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 25 17:20:23 2011 +0000
user-accounts: Don't use gtk_widget_size_request()
panels/user-accounts/um-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-utils.c b/panels/user-accounts/um-utils.c
index d2de050..b489bb6 100644
--- a/panels/user-accounts/um-utils.c
+++ b/panels/user-accounts/um-utils.c
@@ -322,7 +322,7 @@ popup_menu_below_button (GtkMenu *menu,
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 (button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]