shell: Don't mix declarations and code
This commit is contained in:
parent
825146f1e3
commit
87f71b8ce1
@ -125,9 +125,10 @@ on_window_draw (GtkWidget *window,
|
|||||||
WindowInfo *info)
|
WindowInfo *info)
|
||||||
{
|
{
|
||||||
cairo_rectangle_int_t allocation;
|
cairo_rectangle_int_t allocation;
|
||||||
gtk_widget_get_allocation (window, &allocation);
|
|
||||||
double x_offset, y_offset;
|
double x_offset, y_offset;
|
||||||
|
|
||||||
|
gtk_widget_get_allocation (window, &allocation);
|
||||||
|
|
||||||
/* We draw an arbitrary pattern of red lines near the border of the
|
/* We draw an arbitrary pattern of red lines near the border of the
|
||||||
* window to make it more clear than empty windows if something
|
* window to make it more clear than empty windows if something
|
||||||
* is drastrically wrong.
|
* is drastrically wrong.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user