diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-28 20:04:33 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-28 20:04:33 +0100 |
commit | ee511ba9f042c64be34af0f7d8123391605a34c3 (patch) | |
tree | f6724ff5e2f0b6f3d4c99ca881bedd3fa0555501 /libslab/shell-window.c | |
parent | 3ca08cb10bd7650d771da98c457460556cc43db5 (diff) | |
download | mate-control-center-ee511ba9f042c64be34af0f7d8123391605a34c3.tar.bz2 mate-control-center-ee511ba9f042c64be34af0f7d8123391605a34c3.tar.xz |
Fix GtkAllocation usage after GTK3 commits
Diffstat (limited to 'libslab/shell-window.c')
-rw-r--r-- | libslab/shell-window.c | 12 |
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; } |