[nautilus/gtk3-happyness: 16/19] icon-container: use gtk_widget_get_preferred_size()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gtk3-happyness: 16/19] icon-container: use gtk_widget_get_preferred_size()
- Date: Wed, 29 Sep 2010 12:33:46 +0000 (UTC)
commit 35d7960dc10053f751607172aff41d2155228942
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Sep 29 14:24:17 2010 +0200
icon-container: use gtk_widget_get_preferred_size()
libnautilus-private/nautilus-icon-container.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index 365c11a..93ae21a 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4786,7 +4786,7 @@ nautilus_icon_container_search_position_func (NautilusIconContainer *container,
cont_width = gdk_window_get_width (cont_window);
cont_height = gdk_window_get_height (cont_window);
- gtk_widget_size_request (search_dialog, &requisition);
+ gtk_widget_get_preferred_size (search_dialog, &requisition, NULL);
if (cont_x + cont_width - requisition.width > gdk_screen_get_width (screen)) {
x = gdk_screen_get_width (screen) - requisition.width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]