* clutter/clutter-media.c: Rename the 'ERROR' signal enum to
'ERROR_SIGNAL' otherwise it clashes with windgi.h. Thanks to David
Kedves
2008-11-21 Neil Roberts <neil@linux.intel.com>
+ Bug 1269 - mingw32 building failed at clutter-media.c
+
+ * clutter/clutter-media.c: Rename the 'ERROR' signal enum to
+ 'ERROR_SIGNAL' otherwise it clashes with windgi.h. Thanks to David
+ Kedves
+
+2008-11-21 Neil Roberts <neil@linux.intel.com>
+
* clutter/pango/cogl-pango.h: Include pango/pango.h to get
pango-renderer.h. In versions prior to 1.18.4 pangocairo.h does
not include pango-renderer.h
enum
{
- EOS,
- ERROR,
+ EOS_SIGNAL,
+ ERROR_SIGNAL, /* can't be called 'ERROR' otherwise it clashes with wingdi.h */
LAST_SIGNAL
};
*
* Since: 0.2
*/
- media_signals[EOS] =
+ media_signals[EOS_SIGNAL] =
g_signal_new ("eos",
CLUTTER_TYPE_MEDIA,
G_SIGNAL_RUN_LAST,
*
* Since: 0.2
*/
- media_signals[ERROR] =
+ media_signals[ERROR_SIGNAL] =
g_signal_new ("error",
CLUTTER_TYPE_MEDIA,
G_SIGNAL_RUN_LAST,
if (uri_error)
{
- g_signal_emit (media, media_signals[ERROR], 0, uri_error);
+ g_signal_emit (media, media_signals[ERROR_SIGNAL], 0, uri_error);
g_error_free (uri_error);
return;
}