(From update of attachment 353279) > { "GnomeVFS Service", > NS_GNOMEVFSSERVICE_CID, > NS_GNOMEVFSSERVICE_CONTRACTID, >- nsGnomeVFSServiceConstructor } >+ nsGnomeVFSServiceConstructor }, >+#ifdef MOZ_ENABLE_LIBNOTIFY >+ { "Gnome Alerts Service", >+ NS_SYSTEMALERTSSERVICE_CID, >+ NS_SYSTEMALERTSERVICE_CONTRACTID, >+ nsAlertsServiceConstructor }, >+#endif > };
What if MOZ_ENABLE_LIBNOTIFY isn't #define'd... that trailing comma will be there. Will that cause a compilation error?
(From update of attachment 353279) ICE_CID, ICE_CONTRACTID, ceConstructor } ceConstructor }, LIBNOTIFY SERVICE_ CID, ERVICE_ CONTRACTID, Constructor },
> { "GnomeVFS Service",
> NS_GNOMEVFSSERV
> NS_GNOMEVFSSERV
>- nsGnomeVFSServi
>+ nsGnomeVFSServi
>+#ifdef MOZ_ENABLE_
>+ { "Gnome Alerts Service",
>+ NS_SYSTEMALERTS
>+ NS_SYSTEMALERTS
>+ nsAlertsService
>+#endif
> };
What if MOZ_ENABLE_ LIBNOTIFY isn't #define'd... that trailing comma will be there. Will that cause a compilation error?