[gtk+/client-side-decorations: 6/92] wip
- From: Cody Russell <bratsche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/client-side-decorations: 6/92] wip
- Date: Fri, 16 Apr 2010 19:27:37 +0000 (UTC)
commit d0a8a7268c22e4b3539faf36122c3e19d4db1217
Author: Cody Russell <crussell canonical com>
Date: Sat May 16 22:05:10 2009 -0400
wip
gtk/gtkwindow.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index ececf73..fc9d0ff 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5117,10 +5117,10 @@ gtk_window_size_allocate (GtkWidget *widget,
{
child_allocation.x = container->border_width + window->frame_left;
child_allocation.y = container->border_width + window->frame_top;
- child_allocation.width = MAX (1, (gint)allocation->width - container->border_width * 2
- - window->frame_left - window->frame_right);
- child_allocation.height = MAX (1, (gint)allocation->height - container->border_width * 2
- - window->frame_top - window->frame_bottom);
+ child_allocation.width = MAX (1, ((gint)allocation->width - container->border_width * 2
+ - window->frame_left - window->frame_right));
+ child_allocation.height = MAX (1, ((gint)allocation->height - container->border_width * 2
+ - window->frame_top - window->frame_bottom));
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]