summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@gnome.org>2015-05-29 13:55:27 +0200
committerArx Cruz <arxcruz@gnome.org>2015-05-29 13:55:27 +0200
commite6055cc19a2b8b04cd472e1e3511d48ba83bc046 (patch)
tree0ef015f7467246cf9705169467fc83ca739d29bd /src
parentFix uninitialized progress_bar error (diff)
downloadzenity-e6055cc19a2b8b04cd472e1e3511d48ba83bc046.tar.gz
zenity-e6055cc19a2b8b04cd472e1e3511d48ba83bc046.tar.bz2
zenity-e6055cc19a2b8b04cd472e1e3511d48ba83bc046.zip
Fixing deprecated declarations
Diffstat (limited to 'src')
-rw-r--r--src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index 0849946c..7398fc26 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -210,7 +210,7 @@ zenity_tree_handle_stdin (GIOChannel *channel,
GtkWidget *scrolled_window;
GtkRequisition rectangle;
- gtk_widget_size_request (GTK_WIDGET (tree_view), &rectangle);
+ gtk_widget_get_preferred_size (GTK_WIDGET (tree_view), &rectangle, NULL);
scrolled_window = GTK_WIDGET (gtk_builder_get_object (builder,
"zenity_tree_window"));
gtk_widget_set_size_request (scrolled_window, -1, rectangle.height);
bgstack15