[gtk+] gtk/gtkwindow.c: Fix warning
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkwindow.c: Fix warning
- Date: Wed, 8 Sep 2010 19:28:56 +0000 (UTC)
commit 2d0a6552017d0953be739bc7a4a6595af8cad11c
Author: Javier Jardón <jjardon gnome org>
Date: Wed Sep 8 20:12:26 2010 +0200
gtk/gtkwindow.c: Fix warning
Cast to GtkSizeRequest
This was added in
commit b654afcb480c4f971436bd82a7b20f86686a9c02
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 1a753be..90b8b31 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6660,7 +6660,7 @@ gtk_window_compute_hints (GtkWindow *window,
*/
gtk_widget_get_child_requisition (geometry_info->widget, &child_requisition);
- gtk_size_request_get_size (widget, &requisition, NULL);
+ gtk_size_request_get_size (GTK_SIZE_REQUEST (widget), &requisition, NULL);
extra_width = requisition.width - child_requisition.width;
extra_height = requisition.height - child_requisition.height;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]