Clean up the windowing system defines
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 17 Oct 2011 15:03:19 +0000 (16:03 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 3 Nov 2011 13:45:20 +0000 (13:45 +0000)
commit8249e48802193865114d7ff7e0b1023ffaee9456
treec5eff1cf3840deee56a5433e2a538148313c5fa6
parent98c177def5c861e03a1386b02bb0b3acb7c09e65
Clean up the windowing system defines

Instead of defining new symbols for the windowing systems enabled at
configure time, we can reuse the same symbols for both the compile time
and run time checks, e.g.:

  #ifdef CLUTTER_WINDOWING_X11
    if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
      /* use the clutter_x11_* API */
    else
  #endif
  #ifdef CLUTTER_WINDOWING_WIN32
    if (clutter_check_windowing_backend (CLUTTER_WINDOWING_WIN32))
      /* use the clutter_win32_* API */
  #endif

This scheme allows us to ensure that the input system namespace is free
for us to use and select at run time in later versions of Clutter.
clutter/clutter-backend-private.h
clutter/clutter-backend.h
clutter/clutter-main.c
clutter/clutter-version.h.in
configure.ac