gl/gtk: Fix compiler warning in example
authorSebastian Dröge <sebastian@centricular.com>
Thu, 24 Mar 2016 12:08:46 +0000 (14:08 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:18 +0000 (19:32 +0000)
commit82a39d2227cad86011e4570d1ba269f3ebcf3ba9
treea8698a83e433b9a6bb3123e1a4bb13e61da60ccd
parentb5e8763a07b523e68c058f4cea5c167f1b5bb3d3
gl/gtk: Fix compiler warning in example

fxtest.c: In function ‘main’:
fxtest.c:190:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
   GtkWidget *window;
   ^~~~~~~~~
tests/examples/gl/gtk/fxtest/fxtest.c