summaryrefslogtreecommitdiff
path: root/libslab/shell-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'libslab/shell-window.c')
-rw-r--r--libslab/shell-window.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libslab/shell-window.c b/libslab/shell-window.c
index 1c643e00..a5a5a3e5 100644
--- a/libslab/shell-window.c
+++ b/libslab/shell-window.c
@@ -150,12 +150,12 @@ shell_window_paint_window (GtkWidget * widget, GdkEventExpose * event, gpointer
#endif
{
GtkWidget *left_pane, *right_pane;
- GtkAllocation *allocation;
+ GtkAllocation allocation;
left_pane = SHELL_WINDOW (widget)->_left_pane;
right_pane = SHELL_WINDOW (widget)->_right_pane;
- gtk_widget_get_allocation (left_pane, allocation);
+ gtk_widget_get_allocation (left_pane, &allocation);
/* draw left pane background */
gtk_paint_flat_box (
@@ -172,10 +172,10 @@ shell_window_paint_window (GtkWidget * widget, GdkEventExpose * event, gpointer
#endif
widget,
"",
- allocation->x,
- allocation->y,
- allocation->width,
- allocation->height);
+ allocation.x,
+ allocation.y,
+ allocation.width,
+ allocation.height);
return FALSE;
}